For some reason I can't use the Time.h lib.
Can you guys tell me how to create a string from the datetime into a format like this: "yyyy.MM.dd:hh.mm.ss" 2014.10.29:07.12.33
Seems odd that I can't find any examples of this.
Thank you. Terrence
For some reason I can't use the Time.h lib. Can you guys tell me how to create a string from the datetime into a format like this: "yyyy.MM.dd:hh.mm.ss" 2014.10.29:07.12.33 Seems odd that I can't find any examples of this. Thank you. Terrence |
|||||
|
There's no built in function to do that, I'm afraid. I suggest you create a method that will format the string like so. Something along the lines of:
|
|||
|