DateAmPm$

Takes one parameter, a string containing a date and time

Description:

Format a 24 hour date/time into a 12 hour date/time using 'AM' or 'PM'

Example:

DateAmPm$ "2016-04-15 15:22:00"

Output is "2016-04-15 03:22:00 pm"