How do I convert the following format to unix timestamp