Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
how can i create weekday? For example i would like create the "date": "Thursday 13:45" or "Monday 23:20 to Thursday 02:30". This is for make schedule for bar, shop, school. The difficulty is that some think like bar open a day and close an other...
Thanks
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedCreate a date field. On the field settings screen choose the option to have an optional or required 'To Date'.
Comment #2
gagarine CreditAttribution: gagarine commentedThanks for the reply :)
My problem is not the "from to date" but the day of the week. I can specified "08:00" but not "08:00 on the first day of the week".
Like with cron:
# +---------------- minute (0 - 59)
# | +------------- hour (0 - 23)
# | | +---------- day of month (1 - 31)
# | | | +------- month (1 - 12)
# | | | | +---- day of week (0 - 6) (Sunday=0 or 7) <- I need this
# | | | | |
* * * * * command to be executed
Comment #3
KarenS CreditAttribution: KarenS commentedYou can do this with a repeating date.