Hi all,
I'm reading an sql db with a datetime field using fwh+xharbour ADO.
The variable I got for this field is a "T" type format, how can I convert it to a string for further manipulations ?
Thank you in advance.
Function TtoDate( tDate )
If empty( tDate)
Return( ctod("00/00/00"))
Endif
If ValType( tDate ) = "D"
Return(tDate )
Endif
Return( stod( substr( ttos( tDate ), 1, 8 ) ))
The variable I got for this field is a "T" type format, how can I convert it to a string for further manipulations ?
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 49 guests