Last active
December 19, 2015 20:08
-
-
Save dheaney/6011031 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| date = new Date().toString().split ' ' | |
| console.log date[0] + ', ' + date[1] + ' ' + date[2] + ' ' + date[3] + ' ' + date[4] + ' '+ '-0600' | |
| # => Tue, Jul 16 2013 11:48:42 -0600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment