[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()
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.
- [Help-glpk] Time conversion functions, xypron, 2008/11/17
- RE: [Help-glpk] Time conversion functions, Meketon, Marc, 2008/11/18
- Re: [Help-glpk] Time conversion functions, Andrew Makhorin, 2008/11/18
- Re: [Help-glpk] Time conversion functions, xypron, 2008/11/18
- Re: [Help-glpk] Time conversion functions, Andrew Makhorin, 2008/11/19
- Re: [Help-glpk] Time conversion functions, Xypron, 2008/11/19
- Re: [Help-glpk] Time conversion functions, Andrew Makhorin, 2008/11/20
- RE: [Help-glpk] Time conversion functions, Meketon, Marc, 2008/11/20
- Re: [Help-glpk] Time conversion functions, Andrew Makhorin, 2008/11/20
- Re: [Help-glpk] Time conversion functions,
xypron <=
- RE: [Help-glpk] Time conversion functions, xypron, 2008/11/21
- RE: [Help-glpk] Time conversion functions, Meketon, Marc, 2008/11/21
- Re: [Help-glpk] Time conversion functions, Maurice Diamantini, 2008/11/21
- Re: [Help-glpk] Time conversion functions, xypron, 2008/11/21
- Re: [Help-glpk] Time conversion functions, Andrew Makhorin, 2008/11/21
- Re: [Help-glpk] Time conversion functions, xypron, 2008/11/21
- Re: [Help-glpk] Time conversion functions, Andrew Makhorin, 2008/11/21
- Re: [Help-glpk] Time conversion functions, xypron, 2008/11/21
- Re: [Help-glpk] Time conversion functions, xypron, 2008/11/21
- Re: [Help-glpk] Time conversion functions, Andrew Makhorin, 2008/11/22