Code Red > AutoLISP (Vanilla / Visual)
ACAD variable CDATE
Mark:
Does CDATE return the hour using a 24 hr. clock or a 12 hr. clock? I can't seem to find that. :?
JohnK:
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.
SMadsen:
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:
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:
>julian format
I wish I understood that one. I was reading about it this morning. whoosh right over my head.
thanks to all.
Navigation
[0] Message Index
[#] Next page
Go to full version