Added new function to format POSIXct objects