PHP Display Current Date and Time
4/20/2013PHP Date/Time Snippet
<?php date_default_timezone_set('America/Los_Angeles'); echo date("m/d/Y - H:i:s A", time()); ?> PST
Will Display This...
12/18/2024 - 07:13:08 AM PST
<?php date_default_timezone_set('America/Los_Angeles'); echo date("m/d/Y - H:i:s A", time()); ?> PST
12/18/2024 - 07:13:08 AM PST
Search
Sponsors
Top Donators
Friends of Mine