added basic string formatting method
parsing times