- Local time
- Today, 06:40
- Joined
- Feb 28, 2001
- Messages
- 30,086
CJ, I can duplicate your finding, which leaves me dumb-struck. I did this in a database three years ago and it worked as I said it did.
What is REALLY getting me confused is that when I try to look this up doing web searches for time formats, I'm even seeing two different results that appear to be contradictory.
One reference tells me that "nn" is two-digit minutes as part of a time formatting string, and that "mm" is two-digit months. Another reference tells me that "mm" is minutes and that "MM" is months, with no reference to "nn" at all. Yet both have URLs that make me think they are legit. This IS somewhat of a puzzler. It also appears to me that there are new options for the Access Format function relating to what you would see for a UTC formatted time.
I am wondering if enough changed for the format function that the "hhh" option is no longer valid. But there is no way for me to know that. I'll have to see if I can resurrect some of that old code. Might not be so easy because some of it belonged to the Dept. of Defense and I can't get to it now.
By the way, the effect of that extra "h" appears to be that it double-prints the number of hours. It is acting like the format is actually
format( 1.5, "h" ) & format( 1.5, "hh:nn:ss" )
which is how the 1212:00:00 string got built.
What is REALLY getting me confused is that when I try to look this up doing web searches for time formats, I'm even seeing two different results that appear to be contradictory.
One reference tells me that "nn" is two-digit minutes as part of a time formatting string, and that "mm" is two-digit months. Another reference tells me that "mm" is minutes and that "MM" is months, with no reference to "nn" at all. Yet both have URLs that make me think they are legit. This IS somewhat of a puzzler. It also appears to me that there are new options for the Access Format function relating to what you would see for a UTC formatted time.
I am wondering if enough changed for the format function that the "hhh" option is no longer valid. But there is no way for me to know that. I'll have to see if I can resurrect some of that old code. Might not be so easy because some of it belonged to the Dept. of Defense and I can't get to it now.
By the way, the effect of that extra "h" appears to be that it double-prints the number of hours. It is acting like the format is actually
format( 1.5, "h" ) & format( 1.5, "hh:nn:ss" )
which is how the 1212:00:00 string got built.