Solved

Access 2013 - need to convert date to quarter and year in the same column

Posted on 2015-01-26
2
743 Views
Last Modified: 2015-01-26
I am using access 2013 and I have a date column (12/26/2014) and I want to run a query where I make another column that will show as the fourth quarter of 2014.

I am currently using:

 Quarter: DatePart("q",[created time])

But I need it show the year on it as well and I am not sure how to add that.

I am not too concerned how it is formatted as long as I can see that it is the 4th quarter of a particular year.

Maybe something like:

4:2014
or 4/2014
or 4,2014

Thanks,
Richard
0
Comment
Question by:rnhturner1
  • 2
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 40570613
Quarter: DatePart("q",[created time]) &"/" & year([created time])
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 40570620
just change  &"/" & to whatever format you want.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

759 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

25 Experts available now in Live!

Get 1:1 Help Now