pretty_time_taken(
"2024-03-23 07:05:53 GMT",
"2024-03-23 12:09:56 GMT"
)
# Track the start and end time of a process
start <- Sys.time()
Sys.sleep(0.1)
end <- Sys.time()
# Use this function to present it prettily
pretty_time_taken(start, end)
Run the code above in your browser using DataLab