Translations:Rule Examples/148/en
Версия от 21:01, 21 сентября 2022; Matveevrj (обсуждение | вклад) (Новая страница: «if (end_date >= start_date) { if ((now >= start_date) && (now < end_date)) { return true; } } else { // end date is less than start date, // assuming they belong to a different days (e.g. today and tomorrow)»)
if (end_date >= start_date) {
if ((now >= start_date) && (now < end_date)) { return true; } } else { // end date is less than start date, // assuming they belong to a different days (e.g. today and tomorrow)