I am using a datetime format in a table in my database.
It is formatted like this: yyyy/mm/dd 00:00:00
1) How do I extract just the date, just the time from the value? 2) How do I reformat the date to be like mm/dd/yyyy when I output it? 3) How do I reformat the time to be hh:mm am/pm when I output it?
Thanks