Skip to contents

Finds the next date/time to post by day of the week and hour.

Usage

post_time(day, hour)

Arguments

day

Character. Day of the week (e.g., "Monday")

hour

Numeric. Hour at which to post (e.g., 8)

Value

Date time as character (without timezone)

Examples

post_time("Wednesday", 8)
#> [1] "2026-05-20 08:00:00"