help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Time conversion functions


From: xypron
Subject: Re: [Help-glpk] Time conversion functions
Date: Thu, 20 Nov 2008 23:49:19 -0800 (PST)

Hello Andrew,

>> tmfunc(t, "d") returns the day of the month, 1 to 31
>> tmfunc(t, "w") returns the day of the week, 0 to 6 (0 = Sunday)
>> tmfunc(t, "u") returns the day of the week, 1 to 7 (1 = Monday)
>>tmfunc(t, "V") returns the week number according to ISO 8601

A special function tmfunc is not needed, it is just part of the conversion
of time to string.
Thats exactly what in my implementation functions gmtime() and localtime()
offer.
param year := gmtime(t, "%d"); ...

Best regards

Xypron
-- 
View this message in context: 
http://www.nabble.com/Time-conversion-functions-tp20549985p20616564.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]