Changeset 5409 for trunk/prototype/timezones.php
- Timestamp:
- 01/21/12 00:18:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/timezones.php
r5341 r5409 457 457 "UTC":"+0000" 458 458 }, 459 "isDaylightSaving":"<?php 460 $time = time(); 461 $hora = localtime($time, true); 462 if($hora['tm_isdst']){ 463 echo true; 464 }else{ 465 echo false; 466 } 467 ?>" 459 "isDaylightSaving":"<?php $localtime = localtime(time(), true); echo !!$localtime['tm_isdst']; ?>" 468 460 }
Note: See TracChangeset
for help on using the changeset viewer.