Added pretty time function.