[Remind-Fans] am_pm (was Re: Determining if -@ was passed?)

Dianne Skoll dianne at skoll.ca
Sun Oct 9 17:07:05 EDT 2022


On Sun, 9 Oct 2022 17:54:27 +0000
Tim Chase via Remind-fans <remind-fans at lists.skoll.ca> wrote:

>   FSET am_pm(tm) IIF(\
>     tm<01:00, tm+12*60+"am", \
>     tm<12:00, tm+"am", \
>     tm<13:00, tm+"pm", \
>     tm-12*60+"pm")

Any reason you don't use the built-in "ampm" function for this?

Regards,

Dianne.


More information about the Remind-fans mailing list