Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created May 11, 2012 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/2657362 to your computer and use it in GitHub Desktop.
Save isaacs/2657362 to your computer and use it in GitHub Desktop.
Wa has joined (~wa@50.45.207.133)
18:45 isaacs: EricBlade: i seem to recall that strtotime in php did this *perfectly*
18:45 bdunavant_ has joined (~brian@pool-173-66-194-134.washdc.fios.verizon.net)
18:46 EricBlade: that actualyl does sound familiar, might be why i'm thinking people have done this
18:46 isaacs: EricBlade: maybe this? http://phpjs.org/functions/strtotime:554
18:46 EricBlade: i haven't worked with php in probably 4 years though
18:46 tando has left IRC (Ping timeout: 260 seconds)
18:46 isaacs: EricBlade: yeah, it's been a while for me, too
18:46 isaacs: i remember this being one of the few functions that was just perfect all the time, too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment