>Hi Eric,
>yes i am using this format function in my coding. even then i am getting this problem.
What does contains your dates? What is the type of your variable? Can you show us some code?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com