PHP extracts the birthday date from the ID number and determines whether a function is adult. Can be determined at the same time 15-bit and 18-bit ID card, by my pro-test, very useful, share the function code as follows:PHP//use PHP to extract
Php extracts the birthday date from the ID card number and verifies whether it is a minor.
Php extracts the birthday date from the ID card number and determines whether it is an adult. You can determine the ID card of 15 and 18 digits at the same
This article mainly introduces PHP's method of obtaining gender and birth date from ID card. Has a good reference value
If you don't say much, look at the code:
Gender and Birthday $birth = strlen ($idcard) ==15 by ID number? (' substr '.
PHP extracts the birthday date from the ID number and determines whether a function is adult.
Can be determined at the same time 15-bit and 18-bit ID card, by my pro-test, very useful, share the function code as follows:
Use PHP to extract
In the Linux environment to get a few days before the time just usedate-d "x days Ago" +%y%m%dX is replaced by a number, if it takes a few days before the direct write positive, if a few days after the date directly write negative numbers can
IamlaosongThe DateAdd function returns a date that is added to a time interval. This function can be used to calculate many of the dates we need, such as last month's year-earlier date. GrammarDATEADD (interval, number, date)The following named
This article mainly describes
how PHP obtains gender and birth date methods from identity cards . Has a good reference value, following the PHP Chinese network small series together to see it
Please look at the code:
Gender and Birthday $birth
Like what
$AA = "2013-12-25";
$BB =time ();
I would like to list 2013-12 distance from the current month
Array (12) {[1] = = string (6) "2013-12"[2] = = string (6) "2014-1"[3] = = string (6) "2014-2"[4] = = string (6) "2014-3"[5] = = string (6) "-..
To achieve this effect, you must first have a calendar. A simple calendar plug-in was just written before, so it came in handy. The following is the calendar code: copy the Code the copied code now has this calendar. What we need to do is
In Tex, you define \ title {} And \ author {}, and then use \ maketitle to generate the title. By default, a writing date is generated under the title.
CodeSimilar:
\ Title {basics of machine learning-artificial intelligence technology}
\ Author {
Date Manipulation with VBScript
Beyond simply displaying the date, VBScript provides a number of functions
That's allow to manipulate dates. The DATEADD (interval, number, date)
and DateDiff (interval, date1, date2) are helpful functions that
This article uses php Technology to extract the birthday date in the ID card number to determine whether it is a function of a minor. The following code is a function used to extract the birthday date in the ID card number and determine whether the
This article uses php technology to extract the birthday date in the ID card number to determine whether it is a function of a minor. The following code is a function used to extract the birthday date in the ID card number and determine whether the
1, from the time stamp to parse the day of the month and seconds:Time is timestamp:var timestr = new Date (parseint (Time) * 1000);var year = Timestr.getfullyear ();var month = Timestr.getmonth () +1;var date = Timestr.getdate ();var hour =
Copy Code code as follows:
-Oracle takes the SQL from Monday to the weekend
This takes the first days of the week, starting with Sunday.
Select To_char (to_date (' 20130906 ', ' yyyymmdd '), ' d ') from dual;
--Result: 6 Note: 2013.09.06
Date FunctionSyntax: DATE (ARG)The DATE function returns the dates in a date, time stamp, date string, and timestamp string. SQL code eg: SELECT DATE(' 2005-06-12 16.24.18.121212 ') from TEST
Eg:
SELECT DATE (' 2005-06-12 16.24.18.121212 ') from
No matter whether you are a newbie to SQL, you should be a beginner in the data warehousing industry who needs to review SQL. This SQL textbook website lists commonly used SQL commands. This website contains the following parts:-SQL commands: How
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.