A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

mm/dd/yyyy to dd/mm/yyyy



 
 
Thread Tools Display Modes
  #1  
Old July 17th, 2006, 09:00 PM posted to microsoft.public.access.forms
Andy
external usenet poster
 
Posts: 941
Default mm/dd/yyyy to dd/mm/yyyy

Hi there,
I have a form that when using a pop-up calendar, once the date is selected,
automatically converts it to mm/dd/yyyy. My regional settings are dd/mm/yyyy
and need the form to show the date like this.
It also drops a leading zero on the month value.

Thanks
  #2  
Old July 17th, 2006, 11:50 PM posted to microsoft.public.access.forms
John Vinson
external usenet poster
 
Posts: 4,033
Default mm/dd/yyyy to dd/mm/yyyy

On Mon, 17 Jul 2006 13:00:01 -0700, Andy
wrote:

Hi there,
I have a form that when using a pop-up calendar, once the date is selected,
automatically converts it to mm/dd/yyyy. My regional settings are dd/mm/yyyy
and need the form to show the date like this.
It also drops a leading zero on the month value.

Thanks


Set the Format() property of the textbox in which the date is
displayed to dd/mm/yyyy.

John W. Vinson[MVP]
  #3  
Old July 18th, 2006, 04:37 AM posted to microsoft.public.access.forms
Allen Browne
external usenet poster
 
Posts: 11,706
Default mm/dd/yyyy to dd/mm/yyyy

It might depend on how that form passes the date value back as to how Access
interprets it.

This one works correctly in a d/m/y country:
Popup calendar
at:
http://allenbrowne.com/ser-51.html

You might also need to know how to address the 3 cases where Access tends to
get our date formats wrong:
International Date Formats in Access
at:
http://allenbrowne.com/ser-36.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Andy" wrote in message
...
Hi there,
I have a form that when using a pop-up calendar, once the date is
selected,
automatically converts it to mm/dd/yyyy. My regional settings are
dd/mm/yyyy
and need the form to show the date like this.
It also drops a leading zero on the month value.

Thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.