Ab Sectora Condita program

A central forum for general discussion

Moderator: Kaiser Fish XII

Post Reply
User avatar
Jonas
Posts: 5334
Joined: Mon Feb 19, 2007 9:53 am

Ab Sectora Condita program

Post by Jonas »

Most of you will know the ASC program, for those who didn't I just added a link to it.
Maybe some smart scientists (I just mean Ari or Erik) could look to it and maybe make an updated version. Maybe with the possibility to fill in the ASC-date and bring it back to the Gregorian date.

And a scrollbar could be added, so you don't need to write down the month but just can chose it from a list. :p

And on what time is it based? Greenwich, California,...? It can make a difference.
From a distance I'm concerned about the rampant lawyerism manifesting itself in Shireroth currently. A simple Kaiserial slap on the wrist or censure by the community should suffice. - Jacobus Loki
Can't you see? I'm crazy! :tomcutterhamonfire :smashy
User avatar
b3n|<3r|\|
Posts: 1536
Joined: Sun Feb 24, 2008 3:51 pm

Re: Ab Sectora Condita program

Post by b3n|<3r|\| »

I believe Apollo Standard Time is Eastern Standard Time, though I'm not sure.
Vilhelm von Benkern - The Dolphin-...Count
:: Formerly just "benkern"
:: Rook Sentry of the Order of the Vorpal Blade
:: Count of Mar Sara IIRC
:: Former Baron of Absentia AFAIK, before that Baron of Vorpmadal TBH; also Former Duke of Yardistan IMHO
:: Dux Emeritus of the Order of Mischievous Intent

It takes moo to mango!
User avatar
Oroigawa Koreyasu
Posts: 1579
Joined: Fri Jul 11, 2008 6:23 am
Location: McCallavre, Straylight

Re: Ab Sectora Condita program

Post by Oroigawa Koreyasu »

Actually, it might read the date and time from your computer...
Oroigawa Koreyasu
Count of McCallavre, Straylight
Count of Lesser Attera, Kildare
Count of Asantelian, Brookshire

Chairman, Senate of the Lakes, Hurmu
User avatar
Jonas
Posts: 5334
Joined: Mon Feb 19, 2007 9:53 am

Re: Ab Sectora Condita program

Post by Jonas »

Oroigawa Koreyasu wrote:Actually, it might read the date and time from your computer...
That's what I think. Mostly because on the bottem of the page there is the following sentence: Note: make sure your computer clock is set to the correct time and date.
From a distance I'm concerned about the rampant lawyerism manifesting itself in Shireroth currently. A simple Kaiserial slap on the wrist or censure by the community should suffice. - Jacobus Loki
Can't you see? I'm crazy! :tomcutterhamonfire :smashy
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Ab Sectora Condita program

Post by Erik Mortis »

It was written in Java Script 7(?) years ago by Steph, a HS friend of mine at the time, and still. It uses your computers time, and I'll be damned if I know how it works.

But I wrote a new one in my head a month ago for PHP(I still need to check how to pull up date info), but doubt I'll write it any time soon.
User avatar
Jonas
Posts: 5334
Joined: Mon Feb 19, 2007 9:53 am

Re: Ab Sectora Condita program

Post by Jonas »

And if you get payed? :document
From a distance I'm concerned about the rampant lawyerism manifesting itself in Shireroth currently. A simple Kaiserial slap on the wrist or censure by the community should suffice. - Jacobus Loki
Can't you see? I'm crazy! :tomcutterhamonfire :smashy
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Ab Sectora Condita program

Post by Erik Mortis »

RL > micronations
User avatar
Ari Rahikkala
Posts: 4326
Joined: Sun Jan 21, 2001 12:56 pm
Contact:

Re: Ab Sectora Condita program

Post by Ari Rahikkala »

I HATE THE AMERICAN DATE ORDER
I HATE IT SO MUCH
IT IS AN ABOMINATION TO ALL THAT IS SUPPOSED TO MAKE THE SLIGHTEST AMOUNT OF SENSE
No-one should be without a parasol, Sirocco.
User avatar
b3n|<3r|\|
Posts: 1536
Joined: Sun Feb 24, 2008 3:51 pm

Re: Ab Sectora Condita program

Post by b3n|<3r|\| »

Very agreeance
User avatar
Ari Rahikkala
Posts: 4326
Joined: Sun Jan 21, 2001 12:56 pm
Contact:

Re: Ab Sectora Condita program

Post by Ari Rahikkala »

Erik Mortis wrote:It was written in Java Script 7(?) years ago by Steph, a HS friend of mine at the time, and still. It uses your computers time, and I'll be damned if I know how it works.

But I wrote a new one in my head a month ago for PHP(I still need to check how to pull up date info), but doubt I'll write it any time soon.
Eh, it's not exactly complex. I even simplified the mathematics a bit while writing the forum-integrated version. Basically,

Code: Select all

function convertGregToASC(givenDate)
{
    return (Math.floor((givenDate - ascStartDate) / 86400000));
}
Where ascStartDate and givenDate are in terms of numbers of milliseconds since the beginning of the Unix epoch (1970-01-01). ascStartDate is, of course, 1999-08-06 (converted to milliseconds into the Unix epoch). 86400000 is the number of milliseconds in a day. That's the full extent of the math, everything else in the original script was glue code or internal results.

* suddenly realises it doesn't really make any sense to call that function convertGregToASC when it's actually independent of the choice of calendar... then shrugs and leaves it the way it is for now, because it's not breaking anything *
No-one should be without a parasol, Sirocco.
User avatar
Artz
Posts: 108
Joined: Thu Sep 11, 2008 8:31 am
Contact:

Re: Ab Sectora Condita program

Post by Artz »

Maybe I should know this.. but.. what is an ASC date?
:rolleyes
User avatar
Jonas
Posts: 5334
Joined: Mon Feb 19, 2007 9:53 am

Re: Ab Sectora Condita program

Post by Jonas »

Artz wrote:Maybe I should know this.. but.. what is an ASC date?
:rolleyes
This is ASC. We use it when we write history (it looks more realistic if a war from 10 days become a war from 10 years ;) ) and it's also often used in decrees.

Ari, good work by the way! :thumbsup
From a distance I'm concerned about the rampant lawyerism manifesting itself in Shireroth currently. A simple Kaiserial slap on the wrist or censure by the community should suffice. - Jacobus Loki
Can't you see? I'm crazy! :tomcutterhamonfire :smashy
User avatar
Kaiser Loki III
Posts: 837
Joined: Sat Sep 27, 2008 3:40 pm

Re: Ab Sectora Condita program

Post by Kaiser Loki III »

We are indeed blessed.
Loki III, Kaiser of Shireroth
"Shireroth sumus. Tempus in parte nostrum est."
The Awaited One, Bearer of the Sword
Traditional King of the Mala'anje
Prince of Hvalafell
Lord Protector of Yardistan
Vryheer of Maraguo
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Ab Sectora Condita program

Post by Erik Mortis »

Ari did it the way I would have done it...
User avatar
Jonas
Posts: 5334
Joined: Mon Feb 19, 2007 9:53 am

Re: Ab Sectora Condita program

Post by Jonas »

Jonas wrote:We use it when we write history (it looks more realistic if a war from 10 days become a war from 10 years ;) )
'Someone' has used my idea while editing the wiki-page. :love
From a distance I'm concerned about the rampant lawyerism manifesting itself in Shireroth currently. A simple Kaiserial slap on the wrist or censure by the community should suffice. - Jacobus Loki
Can't you see? I'm crazy! :tomcutterhamonfire :smashy
Post Reply

Return to “General Discussion”

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest