Have you ever wanted to escape this world and simply die or get away from it? Yeah, that's how I feel at times. I don't know what to do about it. I need to see a therapist or something. I'm on medication, but that doesn't feel like it's doing enough for me. So I have to figure out...something to do about it all. I don't know though. It scares me. I'm more than scared, if I had the ability to understand what was going on in life, then I could do that. But I can't and that simply seems that life is going to blow up at me in any second now. I wish I could overcome these thoughts and simply make sense of it. Whatever happens, I need reality to be real. Does that make sense? I'm not sure it does. I doubt anything ever makes sense to me anymore. But that's okay. It'll be okay in the end, whenever that will be. If it's not the end, it's not okay yet now is it? No, I didn't think so.
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