Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

convert time in an object oriented format

(minutes and hours in () )
1 has no 'S' (minuteS, hrS, dayS, weekS)


(1 min ago)
(17 mins ago)
(1 hr ago)

(12 hrs ago)
1 day ago
2 days ago
1 week ago

Could you please create an object oriented class and method where I could create an object that converts this time length to current time in mysql format
Y-m-d H:i:s

one value at a time
Avatar of rgb192
rgb192
Flag of United States of America image

ASKER

I am currently not involved in a school.

In my free time I watch videos from
lynda.com paid (but not an .edu school)
youtube (free)

Because of experts-exchange and your help, AngelIII, I can now ask questions that look like homework assignments.
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

thanks