writing date()+time() to Sql Table

writing date()+time() to Sql Table

Postby Rick Lipkin » Tue Feb 23, 2021 2:21 pm

To All

I know I have done this before but I just cannot remember how ??

oRs:Fields("Date"):Value := date()+time() does not work

oRs:Fields("Date"):Value := dtoc(Date())+Time() does not work

Thanks
Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: writing date()+time() to Sql Table

Postby Rick Lipkin » Tue Feb 23, 2021 2:35 pm

To All

Here is the answer ...

oRs:Fields("Date"):Value := DateTime()

Thanks
Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 69 guests