Report question

Question: how to convert datetime to unix timestamp in c?