cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Coding Date/Time snapshot
Coding Date/Time snapshot
Dec 16, 2014 at 1:56am UTC
CMinusMinusPlus
(12)
how can i encode the current date and time of the file creation, into a comment header. code blocks is difficult with this. I need it in the following format:
M/D/Y <Eastern Standard Time>
Say for today's date:
dev c++ does this: 15/12/2014 <EST Miltary Time>
Code Blocks (Depending on abbreviation) :
2014-12-15- <EST Miltary Time>
2014-12-15-<EST Miltary Time>
2014-12-16-<EST Miltary Time>
20141215
20141216
2014-12-15
2014-12-16
Tuesday
Topic archived. No new replies allowed.