Answers.Body: <p>Try</p>
  
  <pre><code>{% set currDay = now|date('M j, Y H:i:s') %}
  {{ currDay }}
  </code></pre>
  
  <p>Applying the <code>|date()</code> filter to the <code>now</code> object when you set the variable <code>currDay</code> makes <code>currDay</code> a string. When you then try try to reapply <code>|date()</code> a second time, something funny must be happening..?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-15T17:16:05.090Z
Answers.LastActivityDate: 2019-01-15T17:23:04.850Z
Answers.LastEditDate: 2019-01-15T17:23:04.850Z
Answers.UserDisplayName: Oli
Body: <p>in the CP settings, timezone is set to UTC +1 Europe/Zurich
  when I try this code:</p>
  
  <pre><code>{% set currDay = now|date() %}
      {{ currDay|date('l d F Y') }}
  </code></pre>
  
  <p>it outputs "Mercredi, 16 janvier 2019", but we're still Tuesday 15th</p>
  
  <p>Craft 3.0.37</p>
  
Tags: <datetime>
Title: Current day display on day later
ThreadText: # Current day display on day later
  
  (Asked by: username_0 on 2019-01-15)
  
  in the CP settings, timezone is set to UTC +1 Europe/Zurich
  when I try this code:
  
  ```
  {% set currDay = now|date() %}
      {{ currDay|date('l d F Y') }}
  
  ```
  
  it outputs "Mercredi, 16 janvier 2019", but we're still Tuesday 15th
  
  Craft 3.0.37
  
  **Tags:** datetime
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-01-15. Score: 1 | Accepted answer
  
  Try
  
  ```
  {% set currDay = now|date('M j, Y H:i:s') %}
  {{ currDay }}
  
  ```
  
  Applying the `|date()` filter to the `now` object when you set the variable `currDay` makes `currDay` a string. When you then try try to reapply `|date()` a second time, something funny must be happening..?
  
  
  ---
  
  