Solved

identify month in year

Posted on 2002-07-29
2
403 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 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
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 …

630 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