Solved

extract month and year from date/time field

Posted on 2007-04-03
9
2,379 Views
Last Modified: 2008-01-09
Microsoft Access
Date/Time Field -  Monday, April 02, 2007- ....extract month and year to show "April 2007"
0
Comment
Question by:gueraf
  • 4
  • 3
  • 2
9 Comments
 
LVL 13

Expert Comment

by:lucas911
ID: 18845395
format(now(),"Mmmm yyyy")
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 250 total points
ID: 18845509
Format([YourDateField],"Mmmm yyyy")

mx
0
 
LVL 13

Expert Comment

by:lucas911
ID: 18845589
I'll let this one slide
0
 
LVL 75
ID: 18845602
??
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 13

Expert Comment

by:lucas911
ID: 18845680
i gave him what he wanted.  So why did he accept your answer?  
0
 

Author Comment

by:gueraf
ID: 18845712
I had an existing field named adate which I needed to extract from, now() will not work
0
 
LVL 13

Expert Comment

by:lucas911
ID: 18845722
so then you should have been more clear in your question then
0
 
LVL 75
ID: 18845784
"Date/Time Field ..."

That was very clear to me.  

Also, when I brought up the Q ... no one had yet posted.  I got a phone call, and came back to it, typed my answer ... and hit Submit.

Sorry ....

mx
0
 

Author Comment

by:gueraf
ID: 18845799
sorry, will make sure to be clear next time.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sql: Too Few Parameters expected 1 8 27
Sending Attachment via CDO 3 22
DSum between dates 5 11
Syntax using Declare 3 16
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

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

10 Experts available now in Live!

Get 1:1 Help Now