time manipulation

/Tag: time manipulation

PHP Unix TimeStamp to mySQL DATETIME

By | 2012-03-08T15:50:18+00:00 March 8th, 2012|Code, PHP|

\r\nSometimes you jut want to have a ready need to take a recalculated timestamp from a past/future date and store it in your DB this little function helps achieve that, I notice a lot of people especially newer coders who have a passion for time() timestamps as they are in a sense easier to work [...]

PHP Show time Since a given date/time

By | 2016-10-27T00:23:53+00:00 March 8th, 2012|Code, PHP|

Just a simple function to determine based on a UNIX timestamp how long ago something was done and display it in a readable format. Example of this is I am posting this even though I don’t know how long I’ve been actually using this; […]