opening_hours evaluation tool

Choose Language:

date and time:--   :  

position:latitude: longitude: country: state:

evaluation mode:

value for opening_hours: value to compare to the first value:

This value can also be parsed by YoHours which is a simple editor for the opening_hours syntax. If you don’t need advanced features of the syntax, give it a try.
prettified opening_hours value for displaying (including newlines, do not use this as value for OSM):

Mo-Fr 10:00-20:00;
PH off

load all in JOSM

Facility is now open

but will close today, 22 April, in 5 hours and 22 minutes.

2025-04-20
 
2025-04-21
 
2025-04-22
open 10:00:00 to 20:00:00
2025-04-23
open 10:00:00 to 20:00:00
2025-04-24
open 10:00:00 to 20:00:00
2025-04-25
open 10:00:00 to 20:00:00
2025-04-26
 

Attention! This schedule might change for other weeks.

status:

Applied rule:


Examples:

  1. Mo-Fr 10:00-20:00; PH off
  2. Mo,Tu,Th,Fr 12:00-18:00; Sa,PH 12:00-17:00; Th[3],Th[-1] off
  3. 00:00-24:00; Tu-Su,PH 08:30-09:00 off; Tu-Su 14:00-14:30 off; Mo 08:00-13:00 off
  4. Fr-Sa 18:00-06:00; PH off
  5. Mo 10:00-12:00,12:30-15:00
  6. Mo 10:00-12:00,12:30-15:00; Tu-Fr 08:00-12:00,12:30-15:00; Sa 08:00-12:00
  7. 24/7
  8. "only after registration"; PH off
  9. 22:00-23:00; PH off
  10. 08:00-11:00; PH off
  11. open; Mo 15:00-16:00 off; PH off
  12. Mo-Su 22:00-23:00; We,PH off
  13. We-Fr 10:00-24:00 open "it is open" || "please call"; PH off
  14. Mo-Fr 08:00-11:00 || Tu-Th,PH open "Emergency only"
  15. Tu-Th,We 22:00-23:00 open "Hot meals"; PH off
  16. Mo 12:00-14:00 open "female only", Mo 14:00-16:00 open "male only"; PH off
  17. Apr: 22:00-23:00; PH off
  18. Jul-Jan: 22:00-23:00; PH off
  19. Jan-Jul: 22:00-23:00; PH off
  20. Jul 23-Jan 3: "needs reservation by phone"; PH off
  21. Jul 23-Jan 3: 22:00-23:00 "Please make a reservation by phone."; PH off
  22. Jul 23-Jan 3: 08:00-11:00 "Please make a reservation by phone."; PH off
  23. Jan 23-Jul 3: 22:00-23:00 "Please make a reservation by phone."; PH off
  24. Mar Su[-1]-Dec Su[1] -2 days: 22:00-23:00; PH off
  25. Sa[1],Sa[1] +1 day 10:00-12:00 open "first weekend in the month"; PH off
  26. Sa[-1],Sa[-1] +1 day 10:00-12:00 open "last weekend in the month"; PH off
  27. Sa-Su 00:00-24:00; PH off
  28. Mo-Fr 00:00-24:00; PH off
  29. sunrise-sunset open "Beware of sunburn!"; PH off
  30. sunset-sunrise open "Beware of vampires!"; PH off
  31. (sunset+01:00)-24:00 || closed "No drink before sunset!"; PH off
  32. 22:00+; PH off
  33. Tu,PH 23:59-22:59
  34. We-Mo,PH 23:59-22:59
  35. week 2-52/2 We 00:00-24:00; week 1-53/2 Sa 00:00-24:00; PH off
  36. week 4-16 We 00:00-24:00; week 38-42 Sa 00:00-24:00; PH off
  37. 2012 easter -2 days-2012 easter +2 days: open "Around easter"; PH off
  38. 24/7 closed "always closed"
  39. 2013,2015,2050-2053,2055/2,2020-2029/3,2060+ Jan 1, documentation
  40. Jan 23-Feb 11,Feb 12 00:00-24:00; PH off
  41. Apr-Oct Su[2] 14:00-18:00; Aug Su[-1] -1 day 10:00-18:00; Aug Su[-1] 10:00-18:00; PH off
  42. Mo-Fr 08:00-12:00, We 14:00-18:00; Su,PH off
  43. 00:00-24:00 week 6 Mo-Su Feb; PH off, (check out the error correction and the prettify function for the opening_hours value)
  44. monday, Tu, wE, TH 12:00 - 20:00 ; 14:00-16:00 Off ; closed public Holiday, (check out the error correction and the prettify function for the opening_hours value)
  1. We; PH off
  2. PH
  3. PH Mo-Fr (Only if the public holiday is a weekday (Mo-Fr))
  4. PH -1 day
  5. SH
  6. SH,PH
  7. PH,SH (This makes a small difference compared to the previous value. The name of the school holidays will override the PH names in the comment.)
  8. We[1-3]
  9. We[3-5]
  10. Sa
  11. Sa[1]
  12. Sa[1-3]
  13. Tu-Th
  14. Fr-Mo
  15. Mo-Su; We "only after registration"
  16. Oct: We[1]
For more information you can check out the OSM wiki.
This website and the JavaScript library used for the evaluation of opening hours are developed on GitHub.