[Top][All Lists]

[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()
param year := gmtime(t, "%d"); ...

Best regards

View this message in context:
Sent from the Gnu - GLPK - Help mailing list archive at

reply via email to

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