straffenp wrote:
> Does that explain things a little clearer?
Yes, but you are looking at conditional formatting which you
are not
going to get with one function. First of all your AM to a.m.
is a
straight forward string replace.
replace(timeFormat(startTime,"h:mm tt"),"AM","a.m.")
But the minute issue is not quite so straight forward. This
is
conditional formatting that will require an if statement.
Some people
don't like them, but I occasionally used the iif() function
for a simple
comparison like this.
iif(minute(startTime) NEQ
0),DE(timeFormat(startTime,"h:mm")),DE(timeFormat(startTime,"h")))
NOTE: No debugging done at all... confirm all syntax before
usage.