PC Review


Reply
Thread Tools Rate Thread

Default Value =Date$() in UK Date Format

 
 
Shugwan
Guest
Posts: n/a
 
      11th May 2010
I have a form with a date field and want to populate it with the current date
using the =Date$() in the default value field. Unfortunately this uses the US
date format (mmddyy) and I need it to be in the UK format (ddmmyy). Regional
settings are set to UK on the PC.

Can anyone please advise me how to acheive this as I can't find any
reference to it anywhere on the web!
 
Reply With Quote
 
 
 
 
Jon Lewis
Guest
Posts: n/a
 
      11th May 2010
=Date()

Should use your regional setting

Jon

"Shugwan" <(E-Mail Removed)> wrote in message
news:C07ACAC6-6139-4667-B839-(E-Mail Removed)...
>I have a form with a date field and want to populate it with the current
>date
> using the =Date$() in the default value field. Unfortunately this uses the
> US
> date format (mmddyy) and I need it to be in the UK format (ddmmyy).
> Regional
> settings are set to UK on the PC.
>
> Can anyone please advise me how to acheive this as I can't find any
> reference to it anywhere on the web!



 
Reply With Quote
 
Jeanette Cunningham
Guest
Posts: n/a
 
      11th May 2010
I have a similar with a client's notebook computer.
In this case we want it to be Australian dd/mm/yyyy format, but it stays in
American format.
Other programs on this computer have the same problem with dates.
My IT person says he can fix it. I am trying to talk client into getting it
fixed, but she thinks it is OK, the staff will just have to get used to
american dates.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Jon Lewis" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> =Date()
>
> Should use your regional setting
>
> Jon
>
> "Shugwan" <(E-Mail Removed)> wrote in message
> news:C07ACAC6-6139-4667-B839-(E-Mail Removed)...
>>I have a form with a date field and want to populate it with the current
>>date
>> using the =Date$() in the default value field. Unfortunately this uses
>> the US
>> date format (mmddyy) and I need it to be in the UK format (ddmmyy).
>> Regional
>> settings are set to UK on the PC.
>>
>> Can anyone please advise me how to acheive this as I can't find any
>> reference to it anywhere on the web!

>
>



 
Reply With Quote
 
Shugwan
Guest
Posts: n/a
 
      11th May 2010
As stated above the regional settings on the PC are set to UK format, that's
the strange thing.

"Jon Lewis" wrote:

> =Date()
>
> Should use your regional setting
>
> Jon
>
> "Shugwan" <(E-Mail Removed)> wrote in message
> news:C07ACAC6-6139-4667-B839-(E-Mail Removed)...
> >I have a form with a date field and want to populate it with the current
> >date
> > using the =Date$() in the default value field. Unfortunately this uses the
> > US
> > date format (mmddyy) and I need it to be in the UK format (ddmmyy).
> > Regional
> > settings are set to UK on the PC.
> >
> > Can anyone please advise me how to acheive this as I can't find any
> > reference to it anywhere on the web!

>
>
> .
>

 
Reply With Quote
 
Jon Lewis
Guest
Posts: n/a
 
      11th May 2010
Shugwan

You didn't notice:

=Date() as opposed to =Date$()

Jon


"Shugwan" <(E-Mail Removed)> wrote in message
news:847D4B49-BE50-4D79-A317-(E-Mail Removed)...
> As stated above the regional settings on the PC are set to UK format,
> that's
> the strange thing.
>
> "Jon Lewis" wrote:
>
>> =Date()
>>
>> Should use your regional setting
>>
>> Jon
>>
>> "Shugwan" <(E-Mail Removed)> wrote in message
>> news:C07ACAC6-6139-4667-B839-(E-Mail Removed)...
>> >I have a form with a date field and want to populate it with the current
>> >date
>> > using the =Date$() in the default value field. Unfortunately this uses
>> > the
>> > US
>> > date format (mmddyy) and I need it to be in the UK format (ddmmyy).
>> > Regional
>> > settings are set to UK on the PC.
>> >
>> > Can anyone please advise me how to acheive this as I can't find any
>> > reference to it anywhere on the web!

>>
>>
>> .
>>



 
Reply With Quote
 
Shugwan
Guest
Posts: n/a
 
      11th May 2010
Hi Jon,

You're right, I didn't notice that and it did resolve the issue - many thanks!

Doug

"Jon Lewis" wrote:

> Shugwan
>
> You didn't notice:
>
> =Date() as opposed to =Date$()
>
> Jon
>
>
> "Shugwan" <(E-Mail Removed)> wrote in message
> news:847D4B49-BE50-4D79-A317-(E-Mail Removed)...
> > As stated above the regional settings on the PC are set to UK format,
> > that's
> > the strange thing.
> >
> > "Jon Lewis" wrote:
> >
> >> =Date()
> >>
> >> Should use your regional setting
> >>
> >> Jon
> >>
> >> "Shugwan" <(E-Mail Removed)> wrote in message
> >> news:C07ACAC6-6139-4667-B839-(E-Mail Removed)...
> >> >I have a form with a date field and want to populate it with the current
> >> >date
> >> > using the =Date$() in the default value field. Unfortunately this uses
> >> > the
> >> > US
> >> > date format (mmddyy) and I need it to be in the UK format (ddmmyy).
> >> > Regional
> >> > settings are set to UK on the PC.
> >> >
> >> > Can anyone please advise me how to acheive this as I can't find any
> >> > reference to it anywhere on the web!
> >>
> >>
> >> .
> >>

>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Default date format Richard O. Neville Microsoft Excel Misc 0 22nd Jan 2007 08:32 PM
i have two date fileds Opend date Due date, can i set default on due date so, its always = to open date on my data entry form1 Urgent Mike Saifie Microsoft Access Form Coding 1 9th Mar 2006 01:08 AM
Excel Default date for date format =?Utf-8?B?c211cnBoeTEyMw==?= Microsoft Excel Misc 11 24th Jan 2005 03:32 PM
form field date format with default date Keith G Hicks Microsoft Word Document Management 1 15th Oct 2004 10:54 PM
Default Date Format Jim Microsoft Excel Misc 1 19th Aug 2004 09:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:46 AM.