Hello, The __DATE__ and __TIME__ variables in XCC always return Date and Time in GMT. They does not honor TZ environment as what MSVC or GCC does. (For a note: BCC and OpenWatcom do not honor TZ at all)
Question: What do I have to change to get XCC return __DATE__ and __TIME__ of local time? Snippet: // --- begin --- proc main() test() // always show GMT ? #pragma begindump #include "hbapi.h" HB_FUNC(TEST) { printf("date=%s time=%s\n",__DATE__,__TIME__); } #pragma enddump // --- end --- -- Andi ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers