Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

identify month in year

Posted on 2002-07-29
2
Medium Priority
?
406 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 260 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

730 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