Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
how to use the machine date as an input! plz help!
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
momotaro
Contributor
Join Date:
Sep 2006
Posts:
357
#1
how to use the machine date as an input! plz help!
Nov 4 '06, 11:54 PM
i m looking to have the date of the computer used as an input in a program can u help?
thx!!
Banfa
Recognized Expert
Expert
Join Date:
Feb 2006
Posts:
9067
#2
Nov 6 '06, 10:04 AM
call the time(...) function to the the timein seconds since 1/1/1970
There are other functions in the standard library (gmtime?) to convert this to year, month, day, hour minute and seconds.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment