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...
03/29/2025 - 14:52:28 PM PST
<?php date_default_timezone_set('America/Los_Angeles'); echo date("m/d/Y - H:i:s A", time()); ?> PST
03/29/2025 - 14:52:28 PM PST
Search
Sponsors
Top Donators
Friends of Mine