The localtime() function returns the array that contains the time components of unix time system
Syntax
localtime(timestamp,is_associative)
Example
output
Syntax
localtime(timestamp,is_associative)
Example
<?php print_r(localtime()); echo(" "); print_r(localtime(time(),true)); ?> |
0 comments:
Post a Comment