toDays function

num toDays(
  1. DateTime date
)

Implementation

num toDays(DateTime date) {
  return toJulian(date) - j2000;
}