Date Format problem in LotusScript

HiWe have two Domino servers-R5 and R6.

The following code snippet works fine on R5 server but gives a type mismatch error on the R6 server:

NewDate = Cdat(c_StDay)

where c_StDay is a string in the format “28/06/2005” (dd/mm/yyyy).

The OS date format on both the server machines is the same as dd/mm/yyyy only.

Subject: Date Format problem in LotusScript

Is your code executing on the server ? i.e. via an agent ?

If not, CDat uses local client settings. So it depends what data settings are being used on the users machine.

cheers !!

Ashish

Subject: RE: Date Format problem in LotusScript

Thanks Ashish for the prompt response…Our code runs on the server thru an agent.

Subject: RE: Date Format problem in LotusScript

oh … can you post the code ?