added: convert date to timemillis