Answers.Body: <p>Normally, (custom) date formatting in civicrm is handled by this function:</p>
  <p><a href="https://github.com/civicrm/civicrm-core/blob/master/CRM/Utils/Date.php#L300" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/master/CRM/Utils/Date.php#L300</a></p>
  <p>You'll see at about line 410 that there's no substitution for seconds.</p>
  <p>Sounds like a not-very-difficult feature waiting to be added.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-19T10:53:17.127Z
Answers.Text: works fine. we'll do a PR on Git
Answers.UserDisplayName: Guillaume Sorel
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-02-23T20:48:05.930Z
Answers.LastActivityDate: 2021-02-23T20:48:05.930Z
Answers.UserDisplayName: Alan Dixon
Body: <p>this date and hour format should work: <code>%d/%m/%Y %k:%M:%S</code>
  but I'm not getting the seconds: <code>17/02/2021 9:15:%S</code></p>
  <p>Is <code>%S</code> compatible in CiviCRM?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-18T22:56:18.747Z
Comments.Text: I came here to post the same question.
Comments.UserDisplayName: freeform.steph
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-19T22:44:04.757Z
Comments.Text: I've submitted an issue in gitlab: https://lab.civicrm.org/dev/core/-/issues/2401
Comments.UserDisplayName: freeform.steph
Tags: <date-preferences>
Title: Date and hour format with seconds
ThreadText: # Date and hour format with seconds
  
  (Asked by: username_0 on 2021-02-17)
  
  this date and hour format should work: `%d/%m/%Y %k:%M:%S`
  but I'm not getting the seconds: `17/02/2021 9:15:%S`
  
  Is `%S` compatible in CiviCRM?
  
  **Tags:** date-preferences
  
  > **Comments:**
  > **username_1**: I came here to post the same question.  
  > **username_1**: I've submitted an issue in gitlab: https://lab.civicrm.org/dev/core/-/issues/2401  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2021-02-23. Score: 0 | Accepted answer
  
  Normally, (custom) date formatting in civicrm is handled by this function:
  
  <https://github.com/civicrm/civicrm-core/blob/master/CRM/Utils/Date.php#L300>
  
  You'll see at about line 410 that there's no substitution for seconds.
  
  Sounds like a not-very-difficult feature waiting to be added.
  
  > **Comments:**
  > **username_0**: works fine. we'll do a PR on Git  
  
  ---
  
  