home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Book HomePHP CookbookSearch this book

3.4. Converting an Epoch Timestamp to Time and Date Parts

3.4.3. Discussion

The time parts returned by getdate( ) are detailed in Table 3-1. These time parts are in local time. If you want time parts in another time zone corresponding to a particular epoch timestamp, see Recipe 3.12.

3.4.4. See Also

Recipe 3.3 for how to convert time and date parts back to epoch timestamps; Recipe 3.12 for how to deal with time zones; documentation on getdate( ) at http://www.php.net/getdate.

Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.