Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.lang.c.moderated > #526
| From | Vijay Kanta <viju.kantah@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c.moderated |
| Subject | Set time hours, minutes and seconds to 0s with tm struct |
| Date | 2014-04-01 01:49 -0500 |
| Organization | Usenet Fact Police |
| Message-ID | <clcm-20140401-0003@plethora.net> (permalink) |
I need a small logic to set the time_t time to 0s. By default if I give time_t ticks = 0; tm_info = localtime(ticks); The time starts at 05:30:00. I want it to start 00:00:00. Are there any solutions? Please give any. -- comp.lang.c.moderated - moderation address: clcm@plethora.net -- you must have an appropriate newsgroups line in your header for your mail to be seen, or the newsgroup name in square brackets in the subject line. Sorry.
Back to comp.lang.c.moderated | Previous | Next | Find similar
Set time hours, minutes and seconds to 0s with tm struct Vijay Kanta <viju.kantah@gmail.com> - 2014-04-01 01:49 -0500
csiph-web