Is a function available to create a date/time string in the following format? I'm not too sure about data to the right of "13:39" in the sample below.
"01/31/2019 15:39:52.233-05:00"
thanks in advance.
function somename
local tDateTime := DateTime()
? TTOC( tDateTime ) + FW_TIMEZONE()
// for India now 02-02-2019 01:06:20.369-05:30
return nil
function FW_TIMEZONE()
local n := -HB_UTCOFFSET()
return If( n < 0, "-", "+" ) + LEFT( SECTOTIME( ABS( n ) ), 5 )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 39 guests