Skip to content

Instantly share code, notes, and snippets.

@theStrangeAdventurer
Created September 23, 2017 12:45
Show Gist options
  • Save theStrangeAdventurer/cb76af4427a1f881906e49cf903dc604 to your computer and use it in GitHub Desktop.
Save theStrangeAdventurer/cb76af4427a1f881906e49cf903dc604 to your computer and use it in GitHub Desktop.
format to add datetime value in table
$expireDate = date("Y-m-d H:i:s", time() + (86400 * 30));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment