confusion on using date_time library