Custom time format (like strftime)