IIf help

  • Thread starter Thread starter jimmy.kirk
  • Start date Start date
J

jimmy.kirk

Interval: Format([Date],"hh") & ":" &
IIf(Int(Format([Date],"m"))<29,"00","30")

For some reason, it always evaluates the same.

If I echo out 'Format([Date],"m")', it appears to show a number. I
tried adding the int() to make sure it was read as a number, but to no
avail. Any help?
 
I think you are assuming that M is Minutes while M is actually Month. For
minutes, use N.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top