Paul


How about using "IncSecond(Now, 1)"... But I think you will have to format it as a string??

Cheers
Robert

Cellular Cellent Ltd NZ




Paul McKenzie <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

19/04/2005 04:11 p.m.
Please respond to NZ Borland Developers Group - Delphi List

       
        To:        Delphi List - Delphi <[email protected]>
        cc:        
        Subject:        [DUG] Interbase dates



In Interbase 7.1 how do I add 1 to Now ?

I want to be able to add 1 second to the current time...
eg
INSERT INTO MyTable(MyTimeStampField, MyVarCharField) VALUES ('NOW' + 1), 'Blah blah Blah');
COMMIT;


--
Regards
Paul McKenzie
SMSS Ltd.
Wellington
New Zealand

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi



Attention:
Disclaimer:

The information in this electronic mail message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Internet electronic mail message by anyone else is unauthorised.

If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.
If you  have received this e-mail by mistake please call the sender immediately on 09 415 4747 and erase the original message and any attachments.

Cellular Cellnet (NZ) Ltd accepts no responsibility for any effects this email message or attachments has on the recipient network or computer system.


_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to