Author | rvt |
Date | 2004-09-21 13:11 |
Posts: | ![]() example:
would give me the correct date and hour, but the minute and second is set according to the current minute and second. In the function mkTimestamp(...) the function empty() is used (see empty()) According to the manual empty ('0') returns true so when using a zero minute, hour or second I get the current minute, hour or second. if I do a simple string comparison instead of the empty(..) function works great here. Ries |
![]() ![]() |
This article comes from OpenPHPnuke International Support |
http://www.openphpnuke.com/ |