Date format for mysql input
0Snippet to re-order date vars to put them in the correct format for mysql entry.
Twitsnip is a place to post code snippets and share them. Login with your existing Twitter account, if you don't have a Twitter account simply create on at www.twitter.com
Snippet to re-order date vars to put them in the correct format for mysql entry.
This function takes the date and time and returns how much time has passed, just like twitter does. for example 10 seconds ago