So…last night, when I was in bed. I kept hearing a voice. I can’t remember what it was saying, but I do remember it getting madder as I was yelling at it to stop. I just wanted the damn voice to stop, and I couldn’t make it stop! Oh man that was annoying, so very annoying that it wouldn’t stop and I couldn’t make it stop. Life feels so difficult at times with these voices doing whatever the hell they want to do in my head. I can’t seem to shake them. Maybe I need to be put on a different medication? I’m not sure. I just want to feel normal, whatever normal is. I’m not even sure I know what normal is now! Talk about a nightmare. A living nightmare that I cannot control in any way, shape, or form. I want it to end somehow. I don’t even know how to make that possible.
Been attempting to put a datetime variable into a MySQL Database via ColdFusion. For the life of me, I couldn't figure out what I was doing wrong.
At first I tried:
#createODBCDateTime(now())#
For some reason that was only giving me the date and not the time.
Then I tried splitting up the date and time into two different fields, one for the date and the other for the time. Then I tried this code:
#createODBCDate(now())#
#createODBCTime(now())#
That gave me the date, but still not the time. Well I did some searching and then found there's a built in function in MySQL to do this. Why not.
Talk about simple:
NOW()
Well guess what, it worked just like a charm.
Comments
Post a Comment