I have been looking for this but did not find nothing very useful.
Can anyone help me, how can I convert a time stamp into epoch milliseconds only using c++ 98.
create a tm structure with the values of date and time entered into the correct fields of the struct.
use mktime() or gmtime() functions to convert to epoch time in seconds. you can multiply by 1000 for milliseconds, but the accuracy will not be maintained.