Author Topic: Number days of the year  (Read 3438 times)

Offline antpix

  • Member
  • **
  • Posts: 59
    • View Profile
Number days of the year
« on: January 07, 2013, 11:26:08 AM »
Further to my post in General Discussions

Please can we have a Variable which will return the day of the year as a number, so 1/1/2013 would be 1/365 and 21/3/2013 would be 80/365 etc?

Obviously it would really only need to be the first part if calculating the leap year would be a problem.

Cheers

Ant

Offline platti

  • Full Member
  • ***
  • Posts: 186
    • View Profile
    • my gallery on zenfolio
Re: Number days of the year
« Reply #1 on: January 07, 2013, 11:31:03 PM »
Hi,

what's the reason for that?
greets from a hill
my gallery on zenfolio

Offline Luiz Muzzi

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • Luiz Muzzi Photography
Re: Number days of the year
« Reply #2 on: January 08, 2013, 01:45:52 AM »
Further to my post in General Discussions

Please can we have a Variable which will return the day of the year as a number, so 1/1/2013 would be 1/365 and 21/3/2013 would be 80/365 etc?

Obviously it would really only need to be the first part if calculating the leap year would be a problem.

Cheers

Ant

Just out of curiosity, I would like to know where/how you are going to use this variable.
regards,

-Luiz Muzzi