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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with type conversion (char to time_t)

Status
Not open for further replies.

RiderJon

Programmer
Aug 26, 2002
190
0
0
FR
hi:

Is there a way to convert a char into a time_t.

I read in a char (that is like a date format).

Now I was to convert that char into a date format like the ones you get from

time_t today;
ctime(&today);
 
I not sure exactly what you are trying to do. Keep in mind that "char" is a type and "time_t" is of type long.

Hope this helps. Happy coding! :)
*~-> EOR Candy <-~*
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top