Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: format Date/Time in a formula Post Reply Post New Topic
Author Message
gronkette
Newbie
Newbie
Avatar

Joined: 19 Dec 2006
Location: United States
Online Status: Offline
Posts: 2
Quote gronkette Replybullet Topic: format Date/Time in a formula
    Posted: 15 May 2007 at 7:47am
I have the following formula:
 
Maximum ({?Select Date/Time}) which returns 12/6/2006 2:00:00 AM.
 
I like to have the date/time formatted as:
 
dd-mmm-yyyy 00:00 example
 
05-Dec-2006 13:46
 
thanks
Julie
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 15 May 2007 at 10:10am
CStr(Maximum({?Select Date/Time}), "dd-MMM-yyyy HH:mm")
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
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.047 seconds.