|
Add Current time To your date field
|
Email
|
| Submitted on: |
5/29/2003 3:09:06 AM |
| By: |
Eassa Saleh
|
| Level: |
Intermediate |
| User Rating: |
By 4 Users |
| Compatibility: |
SQL Server 2000, SQL Server 7.0, SQL Server 6.5 and earlier |
| Views: |
16212 |
|
(About the author) |
|
|
|
Enter current Time to your date field
|
| |
Terms of Agreement:
By using this article, you agree to the following terms...
- You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
- You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
- You may link to this article from another website, but ONLY if it is not wrapped in a frame.
- You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
|
/*Author: Eassa Saleh
Palestine-Gaza
Mobile: 0097159895340
*/
/*How To add current time in date field in you Database */
select convert(datetime,'Put your date here' +' ' +Substring(Convert(char(10),Getdate(),8),1,5))
|
|
Other 1 submission(s) by this author
|
|
Report Bad Submission
|
Your Vote
|
| |
Other User Comments
|
8/25/2003 1:19:36 AM:
Would you please explan what this code does with an example (If this comment was disrespectful, please report it.)
|
6/2/2005 12:46:52 AM:
Thanks for you hepl me (If this comment was disrespectful, please report it.)
|
5/4/2006 12:28:30 AM: MASHIUR RAHMAN
VERY NICE SITE (If this comment was disrespectful, please report it.)
|
9/30/2006 11:09:40 AM: ahmed
ahmed (If this comment was disrespectful, please report it.)
|
2/15/2007 9:03:02 AM: rean
Your codes are nice and readable. May i request to make critical path for me? just use a php language. (If this comment was disrespectful, please report it.)
|
5/16/2008 4:43:37 AM:
pk (If this comment was disrespectful, please report it.)
|
Add Your Feedback
Your feedback will be posted below and an email sent to
the author. Please remember that the author was kind enough to
share this with you, so any criticisms must be stated politely, or they
will be deleted. (For feedback not related to this particular article, please
click here instead.)
To post feedback, first please login.
|