By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,413 Members | 999 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,413 IT Pros & Developers. It's quick & easy.

using getdate() how can i get todays date in mm/dd/yy format? any sug please

P: n/a
i want to get todays date in C++, unix environment. is the function
getdate() will do that. can some one plese help me in this
thanks
Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"kris" <kr******@hotmail.com> wrote:
i want to get todays date in C++, unix environment. is the function
getdate() will do that. can some one plese help me in this


Check out strftime() and localtime() in the standard library:

http://www.cppreference.com/stddate_details.html

David F
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.