Re: Time Question

From: Date: Fri, 15 Feb 2002 21:14:18 +0000
Subject: Re: Time Question
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-16987@lists.php.net to get a copy of this message
Thx Jakob, appreciate the help Cheers Joe :) Lerp <joe@coastaldestination.com> wrote in message news:20020214184306.83105.qmail@pb1.pair.com... > Hi there. Got a bit of a snag. I'm migrating an ASP app to PHP with a > mssql7.0 backend. The snag is this, I have a 'starttime' field in my db > using the 'datetime' format ... looks like this 2/14/2002 12:21:28 PM. > Unfortuanely, I'm unable to convert this field to type integer at the > present time. > > How would I get the current time in the same format as above (2/14/2002 > 12:21:28 PM) for insertion to the db in a datetime field datatype? > > Thx Joe :) > >

« previous php.db (#16987) next »