Solved

Date issue in lotus domino 7 web application

Posted on 2007-03-21
13
628 Views
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.
0
Comment
Question by:varvoura
13 Comments
 
LVL 63

Assisted Solution

by:SysExpert
SysExpert earned 50 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 !
0
 
LVL 19

Assisted Solution

by:madheeswar
madheeswar earned 50 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.
0
 

Author Comment

by:varvoura
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
0
 
LVL 18

Expert Comment

by:marilyng
ID: 18789281
0
 

Author Comment

by:varvoura
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!

Thanks
0
 
LVL 18

Expert Comment

by:marilyng
ID: 18884064
check the server settings..?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

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

Accepted Solution

by:
marilyng earned 400 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
0
 

Author Comment

by:varvoura
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 &

0
 
LVL 18

Expert Comment

by:marilyng
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.  
0
 

Author Comment

by:varvoura
ID: 18916881
Marilyng,

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.


0
 
LVL 18

Expert Comment

by:marilyng
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.  

0
 

Author Comment

by:varvoura
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
show_calendar('document.forms[0].calldate.value')
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



0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
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 discusses moving either the default database or any database to a new volume.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now