pro cast time to char for printing