Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: Date to Number
Author
Message
spl1
Newbie
Joined: 18 Jun 2009
Location: United Kingdom
Online Status: Offline
Posts: 20
Topic: Date to Number
Posted: 01 Feb 2010 at 8:30am
Hi
I've been able to change a date field to a numeric ie Jan 1st = 1
However, I need to keep the number rolling through the years so next year Jan 1st = 366 and so on.
Any idea's?
Sarah
IP Logged
kevlray
Admin Group
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Posted: 01 Feb 2010 at 11:01am
Well if you want a fixed number of days say from 1/1/2009, then you could do this datevalue(currentdatetime)-datevalue(2009,01,01).
Hope this helps.
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.