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'} ...
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....
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 ...
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 ...
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 ...
1
vote
Accepted
Low Events: wrong date displayed
The URL has the date in {segment_2} and you're using date="{segment_3}".
Also, if the entry/event spans multiple days, the start_date will display the event's start date, not the current date given.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
date × 104channel-entries × 16
conditionals × 10
date-format × 10
safecracker × 9
solspace × 6
custom-fields × 6
time × 6
matrix × 5
orderby × 5
entry-date × 5
php × 4
entries × 4
calendar × 4
channel × 3
low-search × 3
grid × 3
solspace-calendar × 3
fieldtype × 3
low × 3
low-events × 3
comparison × 3
expire × 3
datetime × 3
timezone × 3