Thanks for attempting to simplify the code. However, the amended code does not format the time in the desired manner, which is as short as possible. So, "08.45am" should be shown as "8.45am", removing the unnecessary 0 in front. "09.00am" should be shown as "9am", since the zeroes are redundant in this case. Will not be accepting this set of changes.
Thanks for attempting to simplify the code. However, the amended code does not format the time in the desired manner, which is as short as possible. So, "08.45am" should be shown as "8.45am", removing the unnecessary 0 in front. "09.00am" should be shown as "9am", since the zeroes are redundant in this case. Will not be accepting this set of changes.