Return array from localtime( ) : localtime « Date « PHP






Return array from localtime( )

 
Numeric         position            Key Value
0               tm_sec              Second
1               tm_min              Minutes
2               tm_hour             Hour
3               tm_mday             Day of the month
4               tm_mon              Month of the year (January is 0)
5               tm_year             Years since 1900
6               tm_wday             Day of the week (Sunday is 0)
7               tm_yday             Day of the year
8               tm_isdst            Is daylight savings time in effect?
  
  








Related examples in the same category

1.Changing time zone with an environment variable
2.Using localtime()
3.Finding time parts
4.Simple time zone calculation