I
Ian Baker
Hi
We are using Access 2000, 2002 & 2003. We have an application that was
developed in Australia and uses dates extensively throughout the app. We are
now getting a lot of US clients and they are finding problems with the date
format from our dd/mm/yy to their mm/dd/yy. So we are having to rework the
app to accomadate this dare I say strange logic and want to clarify that we
doing the right thing.
1. None of the current table fields that are date/time have any formatting
set at the table level so I presume we don't have to touch them (i.e. what
comes out of the query/form goes into the table)?
2. None of our code uses "#[value]#" so I presume we are ok there?
3. We use Date() and Now() extensively so I presume we don't have to touch
these as they will pick up the Windows system date format?
4. We have form text boxes that have a default value eg
=Format(Now(),"d/m/yyyy h:nn ampm") and a format of dd/mm/yyyy h:nn ampm.
These would have to be changed but how can we still keep the format other
then switching the d/m to m/d?
5. In our code when we have Format(Now, "dd/mm/yyyy h:mm ampm") these would
also have to be changed also?
6. When we have date calculations in our code as long as we don't stipulate
a hard format like dd/mm/yy and instead use a soft format like ShortDate or
MediumTime we are also ok?
7. We also use functions like Month() or Year() so again I presume these are
also ok?
Basically it seems that we only need to change hard formats into soft
formats. For example where ever we have a hard format of "dd/mm/yyyy h:mm"
we need to change it to something like "General Date" - Is that right?
But also how do you do that without it displaying seconds?
We are using Access 2000, 2002 & 2003. We have an application that was
developed in Australia and uses dates extensively throughout the app. We are
now getting a lot of US clients and they are finding problems with the date
format from our dd/mm/yy to their mm/dd/yy. So we are having to rework the
app to accomadate this dare I say strange logic and want to clarify that we
doing the right thing.
1. None of the current table fields that are date/time have any formatting
set at the table level so I presume we don't have to touch them (i.e. what
comes out of the query/form goes into the table)?
2. None of our code uses "#[value]#" so I presume we are ok there?
3. We use Date() and Now() extensively so I presume we don't have to touch
these as they will pick up the Windows system date format?
4. We have form text boxes that have a default value eg
=Format(Now(),"d/m/yyyy h:nn ampm") and a format of dd/mm/yyyy h:nn ampm.
These would have to be changed but how can we still keep the format other
then switching the d/m to m/d?
5. In our code when we have Format(Now, "dd/mm/yyyy h:mm ampm") these would
also have to be changed also?
6. When we have date calculations in our code as long as we don't stipulate
a hard format like dd/mm/yy and instead use a soft format like ShortDate or
MediumTime we are also ok?
7. We also use functions like Month() or Year() so again I presume these are
also ok?
Basically it seems that we only need to change hard formats into soft
formats. For example where ever we have a hard format of "dd/mm/yyyy h:mm"
we need to change it to something like "General Date" - Is that right?
But also how do you do that without it displaying seconds?