Solved

identify month in year

Posted on 2002-07-29
2
397 Views
Last Modified: 2011-10-03
This must be pretty easy but i can't figure it out.

i'm using version 7 crystal reports

I want to identify what month in the year i am in from CurrentDate.

I want to use it as the same function for DayOfWeek but for Month of Year.
0
Comment
Question by:m0ley
2 Comments
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 65 total points
ID: 7185453
Use month(x) to return a month number from 1 - 12 where x is a date value.

Use monthname(y) to return the full month name from a month number from 1-12.

Use monthname(y,true) to return a three letter abbreviation of the month name (ie APR for April) where y is a month number from 1-12.

Today these will return:
month(currentdate) -> 7
monthname(month(currentdate)) -> July
monthname(month(currentdate),true) -> Jul

DRRYAN3
0
 

Author Comment

by:m0ley
ID: 7185536
thanx a lot, i managed to work it before i got your solution, but the points are yours cos you gave me extra info which are helpful to me :)

m0le2000
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 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

19 Experts available now in Live!

Get 1:1 Help Now