Hi,
I need to send a date/time combination as a Date ... how can this be done?
I need it in this format:
2009-03-06T09:00:00
local d := datetime()
Set( _SET_DATEFORMAT, 'YYYY-MM-DD' )
SET TIME FORMAT TO 'HH:MM:SS'
MsgInfo( TToC( d ) )
MsgInfo( cValToStr( d, 'YYYY-MM-DD' ) + ' ' + Time() )
Set( _SET_DATEFORMAT, 'YYYY-MM-DD' )
SET TIME FORMAT TO 'HH:MM:SS'
dTimeStart := CtoT( DtoC(Date())+" 09:00:00")
dTimeEnd := CtoT( DtoC(Date())+" 10:00:00")
dTimeStart := Date() + 9/24
dTimeEnd := Date() + 10/24
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 108 guests