Author Topic: ACAD variable CDATE  (Read 5594 times)

0 Members and 1 Guest are viewing this topic.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
ACAD variable CDATE
« on: November 17, 2003, 09:37:02 AM »
Does CDATE return the hour using a 24 hr. clock or a 12 hr. clock? I can't seem to find that.  :?
TheSwamp.org  (serving the CAD community since 2003)

JohnK

  • Administrator
  • Seagull
  • Posts: 10623
ACAD variable CDATE
« Reply #1 on: November 17, 2003, 09:42:00 AM »
I dont have acad on my laptop but i think it returns the 24 hr clock. But dont quote me on that untill someone else quotes me on that.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

SMadsen

  • Guest
ACAD variable CDATE
« Reply #2 on: November 17, 2003, 09:43:20 AM »
CDATE is in 24 hr. clock in the format YYYYMMDD.HHMMSShsec

DATE is in julian format, where the fraction is in "fraction of a day" (seconds since midnight). So it's neither 12 hr. clock nor 24 hr. but a 86,400 second clock  :)

daron

  • Guest
ACAD variable CDATE
« Reply #3 on: November 17, 2003, 09:43:50 AM »
I think it's a 24 hr. clock. In fact, I'm sure of it, because it doesn't differentiate between am and pm.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
ACAD variable CDATE
« Reply #4 on: November 17, 2003, 09:54:25 AM »
>julian format
I wish I understood that one. I was reading about  it this morning. whoosh right over my head.

thanks to all.
TheSwamp.org  (serving the CAD community since 2003)

rugaroo

  • Bull Frog
  • Posts: 378
  • The Other CAD Guy
ACAD variable CDATE
« Reply #5 on: November 17, 2003, 10:20:50 AM »
Mark -

I agree with you on the whoosh part...Here is a link to help convert, but honestly there is no down to earth simple definition....at least that I could see.
LDD06-09 | C3D 04-19 | Infraworks 360 | VS2012-VS2017

SMadsen

  • Guest
ACAD variable CDATE
« Reply #6 on: November 17, 2003, 10:34:40 AM »
There's a very simple definition of julian dates: 1st of January 4713 BC at 12:00:00 GMT (Greenwich) is Day 0.
Julian dates are merely incremented by 1 for each day at noon GMT. As for fractions, a day is divided into 1/24's. So 1 hour is 0.041666667, 12 hours is 0.5 etc. Couldn't be simpler.

Try inputting 1473 BCE, Jan. 1st into the calculator at the link above.

(notice: the definition is simple .. the calculations are another matter :) )