Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

seconds_from?

Status
Not open for further replies.

bthp

Technical User
Oct 15, 2006
2
GB
Hi

I am trying to use second_from to calculate the difference between a time i manually enter into the programme and the current time - any help would be appreciated.
 
I've never heard of seconds_from. Is it a custom function?
 
its from ccc_Time.cpp - all i want to do is from an input of time get the difference from that input and the current time
 
You'll have to post what the seconds_from() function looks like then. Use [ignore]
Code:
[/ignore] tags.

Normally, if you have your time saved in a time_t variable, you would simply subtract the first time from the second time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top