Date issue in lotus domino 7 web application

Posted on 2007-03-21
Medium Priority
Last Modified: 2013-11-17
Re: Date issue in lotus domino web application

Hi all,

I have a notes domino app in which users are able to print timesheet from. The timesheet dates the user selects from are in a drop down list which is a @dbcolumn to a view.

This has been working fine for months but after the moving to domino 7, some of the user/not all users are viewing the date in mmddyyyy order as opposed to ddmmyyyy.

I thought that the problem was their regional settings in windows so I checked the date format which happens to be correct ddmmyyyy.

What else could be causing this behaviour?

Thank you all in advance.
Question by:varvoura
LVL 63

Assisted Solution

SysExpert earned 200 total points
ID: 18763728
I would try to use the date formatting options to insure that it shows up the way you want.

I hope this helps !
LVL 19

Assisted Solution

madheeswar earned 200 total points
ID: 18778850
Check the Column properties for the date format.
Also, if the above doesn't work, then make use of @Text function for formatting.

Author Comment

ID: 18784982
Thank you both, but Maddy, I am already using the @text to help me with the sorting. As I said, good for everyone but a couple of users who happen to have the operating system regional setting with the correct date format ddmmyyyy
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 18881345
Many thanks everyone but nothing seems to help.
I have one more comment which may give you an idea though

User create a document, select data from a date picker to populate the field
Although the user selects the correct date, say for today 10/04/2007 but when I open it at my end it is saved as 04/10/2007. I have checked all my settings, followed Marilyng advise and set registry international setting correctly and made sure the users settings are correct.
What's odd is when I open that users document and change the field value to 10/04/2007, its all OK after that.
What  a nightmare!

LVL 18

Expert Comment

ID: 18884064
check the server settings..?

Author Comment

ID: 18885286
But why is everyone other user OK? How could that be?
LVL 18

Accepted Solution

marilyng earned 1600 total points
ID: 18886359
Ah, sorry.

So, when you open the document on your computer and change the date, it works.  When the user opens it, it doesn't?

Thinking that the registry value on the user's computer hasn't changed, and was installed with the default format.  see here for instructions: http://www.wfs.com/workweb/DLATrouble.nsf/740ef94ac62ac8a685256324006d4a58/f25d07863021ddff87256d27005bd3ae!OpenDocument

Author Comment

ID: 18888807
Marilyng,Tried that already from a notes.net posting didn't work.

However, I've tested a few times again with the user and he's the scenario
By the way, this is a Web Application & not a Notes Client Application

1. User create a document & populates the date correctly from a picklist
2.User saves & closes the document
3. User opens the document again in his browser after saving it the first time and view the date field in correct format ddmmyyyy at his end
4. I open the document, in my browser and I view the date field reversed to mmddyyyy as opposed to ddmmyyyy
5. I click the date picker and change the date to correct format, then I save & close the document then I reopen the document again & the date field looks correct.
6. However, when I ask the user to open that same document in his browser, he now views the date field in the document in reverse order
7. So in short, the date field seems to flip formats when transferred between both of us(not sure if I explained this correctly)
8. I have corrected both mine and the users regional setting and control panel setting and made sure the server setting are correct as per Marilyng advise above, still not working

Any more ideas will be really appreciated.

Many thanks

6. I save & 

LVL 18

Expert Comment

ID: 18912189
See here for a few options:  http://www.w3.org/International/questions/qa-date-format.

I like using a dd MMM YYYY format, myself.  

Author Comment

ID: 18916881

Thx again for your help, its much appreicated.

But can I add something to this:

User said today that this problem started to occur only when we upgraded to domino 7. Do you have any hints on that. Could it be a bug?

Also after going through all the settings with the user, I got him to create a document and populate the date field using a JS date picker and saved the doc, when re-opened on that PC the date was changed to mmddyyyy, however he opened that same document on the next computer and it was OK.

I had walked the user through the regional settings and control panel setting step by step.

Although this is a web app but is there a notes.ini option maybe that we can populate on user PC to force this date setting or even on server notes.ini

Many thanks again.

LVL 18

Expert Comment

ID: 18917104
It's been my experience in web pages to use javascript to set and display the date format.   Sadly, I have not run across this because we use the mmddyyyy format, and I generally use  dd mmm yyyy on web pages :)

I don't think this is a domino issue.  


Author Comment

ID: 18917185
Marilyn, just to meniton also that on the frameset just underneath the outline I have a date display to display today's date and it is displaying it correctly 16 April 2007

OK, say I have a field calldate on the form where I click a JS datepicker to select the date.
Behind the calendarpicker icon I have the following code
This set the value to the call date field
Can I change any of this to enforce ddmmyyyy format?

The other thing is that this date in combination of a lot of other variables(interval, etc..) on the form are used to construct a datelist and this is usually calculated by invoking a webquerysave agent. Although th date calculation is wrong as the startdate(calldate) is wrong but only the first value in the datelist is mmddyyyy but the rest of the datelist is ddmmyyyy

As if this can get more confusing!!!!!!!!

Sorry marilyng, I swear that I am not being difficult but this is driving me up the wall


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question