Are there any formating functions in the API to format Systime and LocalTime into ASCII format?
This woundn't be that difficult, but why "roll your own" if they already exist>
Unless you call into a runtime library of HLL, I have not seen a MASM/ASM library of Time/Date functions.
I have rolled my own for my programs.
Regards, P1 :8)
msmith,
Try:
GetTimeFormat
GetDateFormat
hth,
farrier
Thanks to all.
Ironically, there is no reference to these functions in the Time Functions page nor in any of the separate Time Function pages in my MSDN.
GetTimeFormat (http://msdn.microsoft.com/library/en-us/intl/nls_6at0.asp?frame=true)
GetDateFormat (http://msdn.microsoft.com/library/en-us/intl/nls_5w6s.asp?frame=true)
MSDN: Run-time Library Reference, Locale (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_locale.asp)
Thanks to all.
GetTimeFormat and GetDateFormat are slightly on the overkill side, but work very well for me. If I had written my own I wouldnn't have had so many options, but someone using my compiler may find good use for the options.
Mike