Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

PreviousPrevious NextNext


Laura L Clingan 2.Oct.07 11:45 AM a Web browser
Applications Development 6.0.2 CF2 Windows XP


I have a form that has a Date/Time field on it. The display is set to be mm/dd/yyyy and I'm always displaying a 4 digit year. The problem is that sometimes a user will enter the month and year only (i.e., 9/04) intending for that to be interpreted as 9/1/2004 but of course it isn't. I’ve noticed that if the year is entered as something in the 21st century, Notes immediately converts the year to 2007. So, 9/04 becomes 09/04/2007. On the other hand, something like 6/69 is converted to 6/1/1969. I've been asked to either (a) enforce the correct date format or (b) have 9/04 convert to 9/1/2004. I can't figure out how to reliably do either. If I use the Calendar Control the user can still enter the date in the wrong format and I can't figure out to write a script or formula to validate the format on the save.

Is there a way to stop the field from automatically being converted to the current year?

Sorry if this is confusing or I'm being stupid. Seems like this should be simple but I cannot find the answer. I've looked in Help and on this forum and I give up.

Appreciate any help.






Date Converts To Current Year (Laura L Clingan... 2.Oct.07)
. . RE: Date Converts To Current Year (Stan Rogers 2.Oct.07)
. . . . RE: Date Converts To Current Year (Laura L Clingan... 2.Oct.07)
. . . . RE: Date Converts To Current Year (Cesar Mugnatto 2.Oct.07)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite