New polcore() member

Archive of the older Feature Request Forum Posts

Moderator: POL Developer

Locked
Beaud
Novice Poster
Posts: 41
Joined: Tue Feb 14, 2006 2:06 pm

New polcore() member

Post by Beaud »

Maybe updating systime or making another one for the real time/date.

Maybe a new function?

Using flags for different result/format.

dd/mm/yy
dd/mm/yyyy
Month day th, Year

hh:mm
hh:mm:ss

am
pm

GMT
UTD
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

097 will have a function for formatting the time.
06-11 Austin
Added : Util::StrFormatTime(format_string, time_stamp).
Takes in the StrFTime() specifiers for the format string.
(http://www.cppreference.com/stddate/strftime.html)
If time_stamp is 0, it will use POLCore().systime.
Locked