Programming is more fun when you’re drunk. I’m actually enjoying it again for the first time in months! And all it took was 2 glasses of bourbon and 2 glasses of Irish Whiskey!
This function I just wrote is so awesome, seriously.
Now I have to fix someone else’s website before I can go back to working on my own. Stupid hosting company has messed up something. Now when you get a UNIX_TIMESTAMP() from the MySQL database it gives you the wrong timezone, so when I convert it back into a date it comes out as 1 day before I wanted!
So it goes into the database table as 2008-10-13, it comes out as 2008-10-14!
They probably changed the timezone on the servers or something stupid, so now I have to rewrite all the functions.
This is why I host my own sites in Texas instead of Australia…
Man…Firefly was one hell of a great show. I make sure to watch the whole series and movie at least once a year, half way through it again right now. There should be more sci-fi.