actually all i want is the date, no time or anything, just the stupid
friggin date, lol

dam seems so basic and i may not know much but i thought i knew this.

i just dont see why i cant set the Date() variable and insert is as reg
text, it should work right but doesnt, go figure

this is all i need it for, well at the time being
http://www.rockymtanglers.com/rma2/news/news.cfm

all its gotta show is the stupid day it was entered but you can see where
it chokes & btw, that example uses the date/time in mysql.

maybe i should just enter it when the xml is made

i can set the variable and display it fine, just wont go into the db in
any type of field


> On Friday 20 Feb 2004 09:58 am, [EMAIL PROTECTED] wrote:
>> im using the field as an int because it works with the php (choke)
>> date inserts using time()
>
> Well, yes, because that gets you seconds-since-epoch or something.
> Doesn't mean it's a good thing.
>
>> but u'd think it wouldnt be a problem to just set the now() variable
>> and insert it but its choking. u'd think it would be a snap maybe its
>> just my ghost in the machine again
>
> now() returns a date/time object. Have a flick through the CFML
> reference and  see if there is a date/time function to return
> seconds-since-epoch from that. And hope it's the same epoch as the PHP
> part of your system is using.
>
> --
> Tom Chiverton
> Advanced ColdFusion Programmer
>
> Tel: +44(0)1749 834997
> email: [EMAIL PROTECTED]
> BlueFinger Limited
> Underwood Business Park
> Wookey Hole Road, WELLS. BA5 1AF
> Tel: +44 (0)1749 834900
> Fax: +44 (0)1749 834901
> web: www.bluefinger.com
> Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
> Quay, BRISTOL. BS1 6EG.
> *** This E-mail contains confidential information for the addressee
> only. If you are not the intended recipient, please notify us
> immediately. You should not use, disclose, distribute or copy this
> communication if received in error. No binding contract will result from
> this e-mail until such time as a written document is signed on behalf of
> the company. BlueFinger Limited cannot accept responsibility for the
> completeness or accuracy of this message as it has been transmitted over
> public networks.***
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to