Used standard python lib for date and time to reduce dependency.