Why is life this way? I often wonder what’s going on with it, but I don’t have a clue how it’s meant to be at times. I wish I had a clue, honestly. But I don’t, so what’s the point of it all? If It’s meant to be a curse then let it be a curse. But, if it’s meant to be something different? Let it be different. Don’t let it be what you want it to be, be what it’s meant to be. Allow life to be whatever it needs to be, there’s nothing wrong with that. There are things in this life we don’t have control over, and that’s okay! If we can simply allow ourselves to become the better person, then we can allow such a life to continue. We can allow it to make us and form us, shape us even into the people we’re supposed to be.
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