The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Date
tudsy
post Jun 26 2018, 11:07 AM
Post #1


Advanced Member
****

Group: Members
Posts: 179
Joined: 30-September 14
Member No.: 21,611



Hi

Just one question.


I am trying to put a date in a database. But I am not having much luck. I have created the date object. But what do I put in the insert query for the dt variable?


Thanks.


https://ecovib2d.com.au/ECOVIB2D/MYART/index.txt
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
CharlesEF
post Jun 26 2018, 04:24 PM
Post #2


Programming Fanatic
********

Group: Members
Posts: 1,669
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



Oh, I remember why I used that old code. The user date format is not the same as the date format I use in the database so I used that 1 line of code to convert the user date into a database date (format wise).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st September 2019 - 04:17 PM