SelectTimediff ('23:40:00','18:30:00'); --subtract two time select substring (Timediff ('23:40:00','18:30:00'),1,5) ----“ to:Ten"Subtract back hours: minutesSelectDateDiff'2008-08-08','2008-08-01'); --7-----Two date subtractionSelectTo_days ('2008-09
// Obtain the last day of a month// Method 1: calculate the number of days of the month, and the number of days plus the year + month. The example shows the last day of the month.Private void getlastdateformonth (datetime dtstart, out datetime dtend)
1. Get selectTRUNC (SYSDATE) FROMdual at 00:00:00 of the current day; 2. Get 23: 59: 59 seconds of the current day (add 1 day based on 00:00:00 of the current day and then minus 1 second) SEL
1. Get select TRUNC (SYSDATE) FROM dual; 2. Get 23: 59: 5
With the consent of original author Chris Craft, I can translate his seriesArticle30 days of. Net [Windows Mobile applications] and published in the blog. This is a very interesting series. Through this series of learning, you can master many
According to statistics, 70% of the world's population is in sub-health condition. Women account for a large proportion of the sub-health population. Fatigue, sleepy, often here pain, there itch, to the hospital inspection, the indicators are normal,
======================== Thanks for "Don't forget Beginner's mind" The Great God share ========================Original Blog Address: http://www.cnblogs.com/IT-Bear/archive/2012/01/16/2323609.html=========================================== ==========
Because today do the function of attendance statistics, to count out the time of leave/overtime, there are two ways
The first idea is that two times subtract, get two time difference, the result of the cut, get the number of days and specific time
The TimeSpan structure represents a time interval.
Namespaces: System Assembly: mscorlib (in mscorlib.dll)
Description: The 1.DateTime value type represents a specific date time from January 1, 01 0:0 0 seconds to A.D. December 31, 9999 23:59 59
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.