Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #15693

strtotime peculiarities

From Derek Turner <frderek@suremail.je>
Newsgroups comp.lang.php
Subject strtotime peculiarities
Date 2015-10-06 12:59 +0000
Message-ID <d7hutdFt2bbU1@mid.individual.net> (permalink)

Show all headers | View raw


<code>
echo date ("D j M Y H:i",strtotime("third Monday of February 14:00"))
</code>

echoes:

Mon 16 Feb 2015 00:54 (when run at 13.54 UTC+1)

so it seems to correctly identify and echo the date but is giving some 
sort of relative time.

Is there a way of getting to echo the desired

Mon 16 Feb 2015 14:00?

Back to comp.lang.php | Previous | NextNext in thread | Find similar | Unroll thread


Thread

strtotime peculiarities Derek Turner <frderek@suremail.je> - 2015-10-06 12:59 +0000
  Re: strtotime peculiarities Erwin Moller <erwinmollerusenet@xs4all.nl> - 2015-10-06 16:23 +0200
    Re: strtotime peculiarities Jordan Doyle <jordan@doyle.wf> - 2015-10-08 01:00 +0000
  Re: strtotime peculiarities Jerry Stuckle <jstucklex@attglobal.net> - 2015-10-06 11:18 -0400

csiph-web