Hi,
------------------------------------------ PROC main() LOCAL tNow, cNow tNow := HB_DATETIME() cNow := HB_TTOC(tNow, "YYYY-MM-DD", "HH:MM:SS.FFF") ? cNow ? HB_CTOT(cNow, "YYYY-MM-DD", "HH:MM:SS.FFF") RETURN ------------------------------------------ prints: ------------------------------------------ C:\cawi32\sample\test>hbrun test171.prg 2009-06-25 13:20:06.562 / / 13:00:00.000 ------------------------------------------ Regards, Mindaugas _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour