Questions tagged [time]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Take input as localized time of the user via channel form

Am trying to store localized time of the user via a date field in a channel form. My server timezone is set to GMT. Wanted to display the time and date field to the non-logged in users in their ...
0
votes
1answer
80 views

display content based on multiple days and time of day

I've seen answers on display content on a specific day, but I'm trying to figure out showing content for Multiple days. I have doctors office that wants to show it's hours Monday-friday and weekend ...
0
votes
1answer
112 views

Date conditional for over test if over 2 years

Haven't used EE in a while and having a brain freeze on best way to do a date conditional. I have a date custom field for a DOB. I want to conditional show items if the person/child is over 2 years ...
0
votes
1answer
52 views

Conditional Statements to show Open Hours

So I want to show "Open-Now" if the current time is in betwee in the open hours (which are put in a grid time select field). This is what I have right now: {if {current_time format="%h"} >= {...
1
vote
1answer
22 views

Stash with timestamps and custom written module

I'm having a difficult time figuring this out. There's a section in a website with events. Visitors can vote for these events, 24 hours before and after it happens. Longer before that, it has a '...
0
votes
0answers
18 views

How can I check how old a piece of data is?

I have some content that I'm storing in a custom member profile field and I want to be able to check how old it is on the front end and show the user a message asking them to update it if it's more ...
2
votes
2answers
81 views

Looking for a way to store office holidays to display custom messages on days we're closed

On our company contact page we have a footer with contact information that should change based on whether or not we're open. I'm using Low Variables to store this information and have standard office ...
2
votes
2answers
68 views

How to only execute some code within a specific time frame?

I have a site where users can use a SafeCracker form to submit an entry. Once they submit the entry, they are taken to a confirmation page that also includes some code to automatically send out a ...
0
votes
2answers
127 views

“Time Ago” addon that has multilanguage support

I am using this addon to show time in a "time ago" format. The problem with this one is that it doesn't seem to support multilanguage. Is there an add-on or a PHP solution that supports this kind of ...
1
vote
0answers
32 views

Date Variable Formatting localisation

I use %l in a Timestamp which results in eg. Friday. But since I'm on a Swiss server It should say Freitag. How do I set this to grab the correct translation? Is this a server thing? Thank you.
2
votes
3answers
215 views

Order entries by custom time field

I'm trying to build a conference schedule and I would like each time slot entry in my channel to be ordered by the time designated in a custom field. My first approach used a text field {start_time} ...
3
votes
2answers
129 views

Formating entry date like Twitter or Facebook

Is there a way to format the date output so it reads like it does on Twitter or Facebook. For example if a post was posted 2 days ago the output would be '2 days ago', the same goes for weeks, so if ...
0
votes
1answer
179 views

Channel tag showing future entries but show_future_entries is not set to yes

I have an entry showing a start time of 1:00pm today (current local time is 10:04am CST). The server time using php date is showing the same as our current local time. This is my channel entries tag: ...
2
votes
3answers
238 views

EE worldwide date and times for office opening hours

We have a website, that displays a list of regional offices with their opening and closing times. Part of the design requires that each office is styled to show if its is open or closed. Our initial ...
4
votes
1answer
445 views

Reformat external Date-Format to unix-timestamp / ee-compatible format

I have a date-field where I get some raw data from another system (I have no control over the export of the other system) … the date is published in the following format: 2010-10-26T07:11:18Z Is ...