grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedDisplay
Date From Calendar
00000000-9fed-4304-9c78-73a4bbd9467e
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Construct a date within a specific calendar.

Input parameters:

  1. C → Calendar in which the date is defined.
    •  0 → Gregorian
    •  1 → Julian
    •  2 → Hebrew
    •  3 → Persian
    •  4 → UmAlQura
    •  5 → ThaiBuddist
    •  6 → Hijri
    • 10 → ChineseLunisolar
    • 11 → Japanese
    • 12 → JapaneseLunisolar
    • 13 → Korean
    • 14 → KoreanLunisolar
    • 15 → Taiwan
    • 16 → TaiwanLunisolar
  2. Y → Year in the chosen calendar.
  3. M → Month in the chosen calendar.
  4. D → Day of the month in the chosen calendar.

Output parameters:

  1. D → Date in the specified calendar, set to midnight.