View Single Post
  #23  
Old 04-08-2009, 08:32 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok have added time formating functions, they will work once the new npcserver has been uploaded to all machines:

converttimetostring(float) - returns string - prints the timevar2 like 'Wed Apr 8 20:53:13 2009', see formatTimeString() for more options

formattimestring(str, float) - returns string - formats a string like the strftime function, parameters are the format and time

See http://www.manpagez.com/man/3/strftime/ for parameters.
Reply With Quote