Important alert: (current site time 7/15/2013 7:13:05 PM EDT)
 

article

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
author picture
(About the author)
 
     Enter current Time to your date field

 
 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. 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.
  2. 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.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. 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
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this article (in the Intermediate category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

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 AMMASHIUR RAHMAN

VERY NICE SITE
(If this comment was disrespectful, please report it.)

 
9/30/2006 11:09:40 AMahmed

ahmed
(If this comment was disrespectful, please report it.)

 
2/15/2007 9:03:02 AMrean

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.