Click here to Skip to main content
16,004,458 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

Can someone help me with any function for converting Epochtime to DateItem format.
Example I am getting
Epoch value in

unsigned long int epochtime = "1478613123";

Want to convert this value to DateItem format.

Thanks in advance

Thanks
Sharan

What I have tried:

C#
Example I am getting 
Epoch value in 

unsigned long int epochtime = "1478613123";

Want to convert this value to DateItem format.
Posted
Updated 8-Nov-16 5:13am

1 solution

That looks like a time_t value. See Time Management[^] for the library converter functions.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900