<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022809" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022809</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140811</link>
    <description> &lt;p&gt;the little things are often the hardest to see. &lt;/p&gt;
&lt;p&gt;i would have answered sooner if i got back sooner.&lt;/p&gt;
&lt;p&gt;it&#039;s moot now, but i would have pointed out you initially used date and were using getdate with what i had and told ya to check em both. &lt;/p&gt;
&lt;p&gt;hint for next time, check similar functions on php.net.&lt;/p&gt;
 </description>
     <pubDate>Mon, 17 Nov 2003 03:50:05 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1140811 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140725</link>
    <description> &lt;p&gt;awesome...I can&#039;t believe it took that long to figure out the order was wrong...lol&lt;/p&gt;
&lt;p&gt;thanks mark.&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Nov 2003 04:04:02 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1140725 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140664</link>
    <description> &lt;p&gt;hehe.. ok, after reading through the thread.  You&#039;ve all got the concept, but have the wrong format for timestamps. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&quot;year-month-day hours:minutes:seconds&quot;&lt;/p&gt;
&lt;p&gt;As far as I know, it&#039;s only we funny Americans who use the &quot;month day year&quot; format.  Which to me, makes really no sence.  Thats like &quot;two hundred and four and thirty&quot;.  The order has no relation to magnetude.  Whereas &quot;year month day&quot; does.&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 Nov 2003 06:42:47 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1140664 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140663</link>
    <description> &lt;p&gt;Eskater05, just change your date() line to:&lt;br /&gt;
$date = date(&quot;Y-m-d&quot;);&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 Nov 2003 06:36:23 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1140663 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140637</link>
    <description> &lt;p&gt;ok i&#039;ll show you how &lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; $date &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;INSERT INTO table (info, date) VALUES (&#039;\&quot;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;info&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; . \&quot;&#039;, &#039;\&quot; . &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$date&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;mon&#039;].\&quot;-\&quot;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$date&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;mday&#039;].\&quot;-\&quot;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$date&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;year&#039;] . \&quot;&#039;)\&quot;; &lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2003 22:13:57 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1140637 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140635</link>
    <description> &lt;p&gt;no, it was orginially date, then it was changed to varchar(10) for the $date=3 test, and now it&#039;s back to date&lt;/p&gt;
&lt;p&gt;and druagord, i know that.  i tried every different time function listed on php.net just to try and get one to work.&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2003 22:08:33 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1140635 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140587</link>
    <description> &lt;p&gt;what is the data type of your &#039;data&#039; database field?&lt;/p&gt;
&lt;p&gt;it&#039;s not something like varchar(1) or anything is it?&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2003 09:30:34 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1140587 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140570</link>
    <description> &lt;p&gt;getdate does work like this it will return a array contaning date info check this link to see how you can get values&lt;br /&gt;
&lt;a href=&quot;http://www.php.net/manual/en/function.getdate.php&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/manual/en/function.getdate.php&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2003 04:02:48 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1140570 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140559</link>
    <description> &lt;p&gt;&quot;3&quot; is not a date.&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2003 02:44:18 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1140559 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/date-0#comment-1140556</link>
    <description> &lt;p&gt;alright, well...i did a little test...i set $date=3 and then ran the php script with &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;,date=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$date&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
and it returned 3 in the MySQL db&lt;/p&gt;
&lt;p&gt;but when i set $date= getdate(m-d-Y); it does nothing.  my field shows up as blank in the db.&lt;/p&gt;
&lt;p&gt;m3rajk...i tried what you said, none of it worked...&lt;/p&gt;
&lt;p&gt;could this be a server problem since it doesn&#039;t display the time?&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2003 02:23:01 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1140556 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
