From: David Vallner Date: 2006-10-16T11:05:57+09:00 Subject: Re: Ruby DateTime and MySQL datetime --------------enig4839777F508C7EA667EBB934 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Josselin wrote: > what is the best startegy to use datetime correctly between Ruby and > MySQL ? >=20 Personally, I'd use timestamps to store the information unless it's necessary to preserve the timezone information. Mind you, I think there's a gotcha lurking in the MySQL timestamp not being the UNIX timestamp per default or something like that. David Vallner --------------enig4839777F508C7EA667EBB934 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFMuj7y6MhrS8astoRApNtAJ0bEkB/7ml6BqzUTmmTvRQlkS3f0ACfdjFE Pr4c0VS7+tcRL+y/GyU/hr8= =bnHI -----END PGP SIGNATURE----- --------------enig4839777F508C7EA667EBB934--