PDA

View Full Version : time in my sql


Aymen++
04-30-2003, 10:15 PM
i want to retreive the time in GMT and store it in a DATETIME variable, for example the function now() retrieve the local time but i want to retrieve the time in GMT...

sir pannels
05-01-2003, 11:38 PM
Hey,
int time ( void)
Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
:)