replaced localtime example as it does not return a serializable response.