Changeset 445 for trunk/Common/Types/DateTime.php
- Timestamp:
- Oct 15, 2012, 6:41:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Types/DateTime.php
r442 r445 11 11 global $MonthNames; 12 12 13 if( strtolower($Item['Value']) == 'now') $Item['Value'] = time();13 if((strtolower($Item['Value']) == 'now') or (strtolower($Item['Value']) == '')) $Item['Value'] = time(); 14 14 $Parts = getdate($Item['Value']); 15 15 $Output = $Parts['mday'].'.'.$Parts['mon'].'.'.$Parts['year'].' '. … … 22 22 global $MonthNames; 23 23 24 if( strtolower($Item['Value']) == 'now') $Item['Value'] = time();24 if((strtolower($Item['Value']) == 'now') or (strtolower($Item['Value']) == '')) $Item['Value'] = time(); 25 25 $Parts = getdate($Item['Value']); 26 26
Note:
See TracChangeset
for help on using the changeset viewer.