Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Formula for finding the day name given the date Post Reply Post New Topic
Author Message
jon2ryhme
Newbie
Newbie


Joined: 03 Apr 2008
Location: United Kingdom
Online Status: Offline
Posts: 16
Quote jon2ryhme Replybullet Topic: Formula for finding the day name given the date
    Posted: 07 Apr 2008 at 7:38am


Hi everyone,

To find the week day name from the given date,
use the following formula.

@f_Day_Name:

CStr (DateValue ({Orders.Order Date}))+ "-" +WeekdayName (DayOfWeek ({Orders.Order Date}))

The output will be like this.

1/1/2004 - Thursday

I hope this helps someone.

Is there any alternative way for doing this?
If so please reply.

Thanks in advance
jon2ryhme



Edited by jon2ryhme - 07 Apr 2008 at 7:50am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.