date always display 31 Dec 1899

Coldfusion MX
MS SQL 2000


when try to output it displays:

the date always display 31 Dec 1899. What should i do, I am stuck.
Please let me know if you need complite code. There is no error.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

this is your problem
When you do this it will always set it to 31 Dec 1899. As this is default value for windows or coldfusion

what date you want you should do soemthing like this...

<cfset begindate = now()>

you can also use dateforma from

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
matlowsonAuthor Commented:
I guess I figured it out. Your answer helped me partially. Also no other expert have any comments here. I will close the question soon.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.