get date as date time