• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Number of days since 1/1/0001
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Number of days since 1/1/0001


  • Subject: Re: Number of days since 1/1/0001
  • From: ehsan saffari <email@hidden>
  • Date: Sun, 25 Nov 2001 03:32:16 -0600

On 24/11/2001 23:34, Chris Nebel, email@hidden wrote:

>the Date and Time Utilities
>package it uses -- punts on the whole Gregorian/Julian mess and takes the
>simple way out: it uses the modern calendar as a reference point and works
>backward from there.

Exactly what I am doing to convert Gregorian <-> Jalali calendars in AS.
Day 1 Gregorian is one reference point and (it + 226894) is the other.

>The simplest
>way I can find to get a date of 1/1/0001 is this:
>
> set x to date "1/1"
> set year of x to 1 --> date "Monday, January 1, 0001 12:00:00 AM"
>

Ecellent. Thank you. And special thanks to Nigel Garvey.

cheers
ehsan


  • Prev by Date: Re: Number of days since 1/1/0001
  • Next by Date: Importing Images into Quark box?
  • Previous by thread: Re: Number of days since 1/1/0001
  • Next by thread: Re: Number of days since 1/1/0001
  • Index(es):
    • Date
    • Thread