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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

now() date problem



 
 
Thread Tools Display Modes
  #1  
Old February 9th, 2006, 04:49 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default now() date problem

i have an update query where i am trying to set a date to today's date - to
do so i thought i could set the field in the update query to update to now()
but when i do this it updates in general date format, not medium date format
which is what i need because i run further macros off of this date. i
thought i could fix this by going into the design of the query and changing
the property of the field to medium date - this did not work and lastly the
field that it is updating in my table is also formatted as medium date. the
date still updates to the general date format. is there any way to fix this?
is there a command other than now() which will give me today's date in medium
date format? many thanks.
  #3  
Old February 9th, 2006, 05:14 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default now() date problem

Note that the if you are storing this in a date/time field, it is not
storing it in medium date format, it is stop\ring it as a number that
represents the date. You can display that in any date format you wish.

In your forms, queries, or reports, you can use the format to display that
date in any format you wish.

If you are storing this in a text field, that is a different issue.

--
Rick B



"
t.com wrote in message
...
i have an update query where i am trying to set a date to today's date - to
do so i thought i could set the field in the update query to update to
now()
but when i do this it updates in general date format, not medium date
format
which is what i need because i run further macros off of this date. i
thought i could fix this by going into the design of the query and
changing
the property of the field to medium date - this did not work and lastly
the
field that it is updating in my table is also formatted as medium date.
the
date still updates to the general date format. is there any way to fix
this?
is there a command other than now() which will give me today's date in
medium
date format? many 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Calculation problem pmundle Using Forms 11 October 13th, 2005 07:09 AM
Import date field problem. Thief_ General Discussion 1 July 18th, 2005 10:11 AM
Date Math Problem Dkline Worksheet Functions 4 March 4th, 2005 04:11 PM
Max of Records Date in Text Format Problem Andi Lee Davis Running & Setting Up Queries 4 February 1st, 2005 11:45 AM
sort by date problem scudooder General Discussion 6 July 31st, 2004 12:56 AM


All times are GMT +1. The time now is 06:46 PM.


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