[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue Mar 2 10:51:05 2004 -->
- <!--x-from-r13: znvyvatyvfgf ng flaona.pbz (Szvy B. [na) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 1078240864.23190.25.camel@devel --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] MySQL dates -->
- <li><em>date</em>: Tue Mar 2 10:51:05 2004</li>
- <li><em>from</em>: mailinglists at synban.com (Emil P. Man)</li>
- <li><em>in-reply-to</em>: <1078240864.23190.25.camel@devel></li>
- <li><em>references</em>: <1078240864.23190.25.camel@devel></li>
- <li><em>subject</em>: [ale] MySQL dates</li>
>What is the best way to store dates in a datebase? I'm currently
>storing them as the a string of output from the date command. That
>becomes a problem when I do an order by date and select based on date.
>I would like to store them so I can order them correctly and also do
>a select by date. To generate reports. I'm using perl to generate all
>reports.
>
>Thanks,
>Chris
>
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
><a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
>
>
>
Look on the mysql web site. There they have definitions of all the data
types supported by MySQL. I know for sure that they have at least one
"date" data type in mySQL.
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00039" href="msg00039.html">[ale] MySQL dates</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00041.html">[ale] MySQL dates</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00043.html">[ale] MySQL dates</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00041.html">[ale] MySQL dates</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00043.html">[ale] MySQL dates</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00042"><strong>Date</strong></a></li>
<li><a href="threads.html#00042"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>