Dear All,
I can insert data into mysql db already via my C codes. The only problem now I need insert the time in this format "2011-12-11 09:01:02". How can I format this in my C codes? Thank you.
newbie14
0
Posting Pro
Recommended Answers
Jump to Postman strftime. The format string you need is "%Y-%m-%d %H:%M:%S".
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.