Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accept Invalid Dates

Status
Not open for further replies.

Laura2

IS-IT--Management
Aug 13, 2002
99
0
0
US
Is there anyway to change a date field to accept invalid dates such as 02/30/2006?

Thanks,

Laura.
 
No way If you use native DateTime field, but you could create your own format based on char adn store thee types there. Why you need this? what the date is 30 Feb. 2006?

Borislav Borissov
 
We have a unix based program that allows that date for billing purposes and our SQL table is not recognizing the records.
 
For example?

<insert some dates here>.

------
Theory: everybody knows everything, nothing works
Practice: everything works, nobody knows why

[banghead]
 
Sounds like the Unix program needs some re-engineering. If the date is allowed to go beyond the end of the month, then the date should end up with a valid date in the next month.

If this date isn't being acted upon in any way (say, as part of a count for net due day, etc) then I would say convert the date to a char value.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top