Sask Vaccine Guide Code Docs
    Preparing search index...

    Function useDayParts

    • Looks at the time in 24 hours and returns the "day" message based on the results

      Returns string

      a string in the form of "Morning", "Afternoon", "Evening" or "Day" "Day" is only returned if none of the others hit, this should not happen