Nodes/Comfyui-Kerykeion/Astro Current Date
ComfyUI Node

Astro Current Date

The 'right now' clock every astrology workflow needs

By Meisoftcoltd·Created 5 months ago·Updated 4 months ago· 0
Astro Current Date
    • year
    • month
    • day
    • hour
    • minute
    • date_string

    You want to know what the sky is doing right now - not on the date you last typed into a widget back in March. Astro Current Date is the little node from the Comfyui-Kerykeion pack that hands you today's date and time as plain integers, fresh on every run. It's the "what's today?" answer to the "what's the sky doing?" question that the pack's transit nodes need, and it's the one node here that refuses to go stale.

    It belongs to the pack's Time Utils corner (category ComfyUI-Pitonisa/Time Utils), and it's dead simple by design: it takes no inputs at all and just reads your machine's clock.

    How it works

    The mechanism is exactly as boring as it should be - datetime.now() under the hood - with one deliberate twist. ComfyUI caches aggressively and only re-runs nodes whose inputs might have changed. A node that returns today's date would therefore compute once and then sit there serving yesterday forever. Astro Current Date opts out of that cache by implementing IS_CHANGED to return float("NaN"), the community's standard "always re-run me" trick. Every execution of your workflow, this node fires and reports the current wall-clock time.

    One thing to keep in mind: "current" means your machine's clock and timezone, not your browser's. If your ComfyUI runs on a box set to UTC and you expect local time, you'll get UTC. For most people that's a non-issue; if your transit reading suddenly looks half a day off, that's the first thing to suspect.

    The outputs that matter

    • year, month, day, hour, minute - INTs you can wire straight into any of the pack's calculator inputs.
    • date_string - the same date as a DD/MM/YYYY STRING, handy for prompts, note nodes, or logging.

    The classic wiring is: year/month/day into a Transit Data Calculator (or a Natal Chart Calculator, if you're being fun and want a "today" chart) so your horoscope pipeline is always reading the actual current sky without you touching a widget. An LLM node downstream can then turn that into a daily reading - the whole point of feeding an astrologer-bot clean JSON.

    Installing it

    Astro Current Date ships in the Comfyui-Kerykeion pack. Easiest route is ComfyUI Manager: search "ComfyUI-Kerykeion" (it's also listed under its internal name, "ComfyUI-Pitonisa"), hit install, restart. Manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Meisoftcoltd/Comfyui-Kerykeion
    cd Comfyui-Kerykeion
    pip install -r requirements.txt
    

    Then restart ComfyUI. Unlike the astral calculators further down the menu, this node needs nothing exotic - it's pure Python stdlib, no geocoding, no network, works even fully offline. The requirements.txt install is still worth letting run because the rest of the pack wants it.

    Gotchas

    • It's the node that never sleeps - because it forces a re-run every time, anything downstream of it also re-executes. That's exactly what you want here, but it means you shouldn't tuck it upstream of expensive nodes you're trying to cache.
    • The date format is DD/MM/YYYY, which trips people up if they're feeding date_string to something expecting ISO YYYY-MM-DD. The integer outputs sidestep that entirely.

    If your workflow needs "today plus N days" or a date typed as text, its siblings Astro Date Offset and Astro Parse Date handle those jobs. For "right now," this is the one you reach for.

    CategoryComfyUI-Pitonisa/Time Utils

    Inputs (0)

    No inputs

    Outputs (6)

    NameTypeDescription
    yearINT
    monthINT
    dayINT
    hourINT
    minuteINT
    date_stringSTRING