Page 2 of 2

Re: Is_Date() function for strings in mutiple possible formats

Posted: Sat Jul 10, 2021 6:26 am
by PeteWG
edk wrote: Fri Jul 09, 2021 10:37 am I used to need something similar that you ask. Maybe it will be helpful.
Interesting and helpful function, indeed!
Could it be enhanced to handle timestamp string values, perhaps?

for example:

Code: Select all

 msgdebug( hb_TSToStr( hb_DToT( date() ) ), IsStringValidDate( hb_TSToStr( hb_DToT( date() ) ) ) )
regards,
Pete