Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Supressing Time Post Reply Post New Topic
Author Message
cfrey
Groupie
Groupie


Joined: 06 Feb 2008
Location: United States
Online Status: Offline
Posts: 55
Quote cfrey Replybullet Topic: Supressing Time
    Posted: 04 Mar 2008 at 5:58am
I have the following function to print a date range:
dateadd("M",-11,(minimum(LastFullMonth))) & " to " & maximum(LastFullMonth)

The dateadd portion of the function includes the time:

3/1/2007 12:00AM to 2/29/2008

How do I supress the time?

Thank you for your help.


Edited by cfrey - 04 Mar 2008 at 6:04am
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 04 Mar 2008 at 7:35am

Hi,

use the following
 
DATE(dateadd("M",-11,(minimum(LastFullMonth)))) & " to " & maximum(LastFullMonth)
 
Cheers
Rahul
 
IP IP Logged
cfrey
Groupie
Groupie


Joined: 06 Feb 2008
Location: United States
Online Status: Offline
Posts: 55
Quote cfrey Replybullet Posted: 04 Mar 2008 at 10:58am
That was it. Thank you for your help.
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.