Skip to content

Instantly share code, notes, and snippets.

@v9n
Created December 20, 2010 07:51
Show Gist options
  • Save v9n/748137 to your computer and use it in GitHub Desktop.
Save v9n/748137 to your computer and use it in GitHub Desktop.
Get EST TIME
<?php
//EST is 3 hours foward of LA time
date_default_timezone_set('America/Los_Angeles');
$date = date("Y-m-d", time() + 3600 * 3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment