Skip to content

Instantly share code, notes, and snippets.

@ZweiSteinSoft
Created September 7, 2012 00:05
Show Gist options
  • Save ZweiSteinSoft/3661643 to your computer and use it in GitHub Desktop.
Save ZweiSteinSoft/3661643 to your computer and use it in GitHub Desktop.
Compare server time with client time
Server time: <?php echo date('r'); ?><br />
Client time: <script>document.write(new Date().toString());</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment