J
Joy
we use
tsk.Text1 = DateFormat(tsk.Finish, pjDate_mm_dd_yyyy)
to get the uniform date format in our macros.
like, Finish = July 28
then Text1 = 7/28/2009
we will then work on the uniform date formats and convert them to other
values.
Recently, a customer outside US reported to us that some dates are incorrect.
We found that he is using MS 2000, and in Tools- > Options -> View -> Date
Format, he only has date formats like: Mon 28/1/2009 instead of Mon 1/28/2009
like we have.
the issue is the function DateFormat(tsk.Finish, pjDate_mm_dd_yyyy)
converts Finish date like "Tue 28/07/09" to "28/07/09". It is apparently
wrong.
how can we detect that users are using an international date format and so
we can get a correct format: mm/dd/yyyy for all dates??
tsk.Text1 = DateFormat(tsk.Finish, pjDate_mm_dd_yyyy)
to get the uniform date format in our macros.
like, Finish = July 28
then Text1 = 7/28/2009
we will then work on the uniform date formats and convert them to other
values.
Recently, a customer outside US reported to us that some dates are incorrect.
We found that he is using MS 2000, and in Tools- > Options -> View -> Date
Format, he only has date formats like: Mon 28/1/2009 instead of Mon 1/28/2009
like we have.
the issue is the function DateFormat(tsk.Finish, pjDate_mm_dd_yyyy)
converts Finish date like "Tue 28/07/09" to "28/07/09". It is apparently
wrong.
how can we detect that users are using an international date format and so
we can get a correct format: mm/dd/yyyy for all dates??