convert date to string ro string to date and convert the local time to UTC time or UTC time to the local time