Tag Archives: dates

MySQL DATE_FORMAT()

When getting dates out of a database why not have mysql convert them to the format you are going to use as it gets them? The only reasonable answer is “because I didn’t realise you could”. Continue reading

Advertisements
Posted in Uncategorized | Tagged , | 3 Comments

Dates in PHP & MySQL

It took me a while to get my head around usign dates in PHP and MySQL but it’s actually quite simple. I’m not sure what order to talk about this in so I’ll just go ahead and ramble. Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

MySQL Date Functions

I found a useful MySQL trick which would have saved me some time a when making a site last year. It’s actually a fairly standard procedure but if you’re learning as you go it’s not exactly obvious. It goes something … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment