Greetings Mr Mattias,
I wish it was so simple. Because the dates that may need calculating can be
before 1970.
THis function I have.. and it's semi-working, but I've noticed
irregularities during the conversion.
Thanks for your suggestion!!
Yours,
Kevin
"Mattias Thorslund" <[EMAIL PROTECTED]>
M. Sokolewicz wrote:
well, you can simply use the unix timestamp, since the amount of days
/ seconds since 0 AD/BC will be a constant (it won't change, trust
me), you can simply add it to that, and add a wrapper function to
php's time(). You'll be working with VERY big numbers in that case, so
well, you can simply use the unix timestamp, since the amount of days /
seconds since 0 AD/BC will be a constant (it won't change, trust me),
you can simply add it to that, and add a wrapper function to php's
time(). You'll be working with VERY big numbers in that case, so you can
also do it th
Hey mr. Barnett,
Unfortunately, I do need an accurate calculation, because the calculation
will run 2 ways. From and to our calendar.
I have no problem creating my own datefunctions if I have some idea on how
PHP handles the current ones as a template. Then I can figure out the rest
for myself.
Kevin wrote:
> Hi there,
>
> I seem to be in a bit of a pickle.
>
> Right now I'm working on a script that would calculate dates from one
> calendar to another. The normal calendar we use and a newly invented one.
>
> In order to do that I need to find the exact days since the year 0 BC/AD.
Do
5 matches
Mail list logo