how can i get the max date supported by a c# application

i am trying to take input values of date month and year
And if i am giving year 19999 i am getting error
how can i solve this
help me please
thanks in advance

What error are you getting...
...and in what code?

yup the problem got solved.
But if i want to use any year after 9999... how can i do that..?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.