Convert current time to unix timestamp.