Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes
Accepted

Display Content Based on Time of Day

Thanks to @Nevsie-Modeten, I reworked the query to the following: {if {current_time format='%w'} == 0 && {current_time format='%G%i'} >= 930 && {current_time format='%G%i'} ...
Brad Hopkins's user avatar
1 vote
Accepted

Take input as localized time of the user via channel form

AFAIK there is no automatic way to do this kind of time zone adjustment in EE. EE stores times relative to the server's location timezone, or relative a different timezone if you specify it in the CP....
JCOGS Design's user avatar
  • 3,585
1 vote
Accepted

ExpressionEngine 3 Date Range

I'd suggest attempting to see if the start_on and stop_before parameters work for with Dynamic Parameters. Run a couple tests to see if this does not suit your needs or work first. Dynamic Parameters ...
Miura-shi's user avatar
  • 126
1 vote
Accepted

Checking if date field variables exist in templates

So, this is an old boat that doesn't always sail well (EE2 conditionals depending on field type [sorry for the random metaphor]). Here is what you should start off by trying. First, make sure you ...
jrothafer's user avatar
  • 5,900
1 vote
Accepted

Date conditional for over test if over 2 years

You're on the right track, but no bracing and formatting is needed; date variables will output timestamps without formatting, and comparisons can be made properly between integer types. So you can use ...
Derek Jones's user avatar
  • 2,255

Only top scored, non community-wiki answers of a minimum length are eligible