Recommended and time-related functions-php Tutorial

Source: Internet
Author: User
The binary protocol allows you to use the MYSQL_TIME structure to send and accept DATE and TIME values (DATE, TIME, DATETIME, and TIMESTAMP ). In section 25.2.5, "data type of CAPI preprocessing statements" describes the members of this structure. To send temporary data values, use mysql_stmt_prepare () to create a preprocessing statement. Then, before calling mysql_stmt_execute () to execute the statement, you can set each temporary parameter in the following steps... the binary protocol allows you to use the MYSQL_TIME structure to send and accept DATE and TIME values (DATE, TIME, DATETIME, and TIMESTAMP ). In section 25.2.5, "data type of c api preprocessing statement" describes the members of this structure. To send temporary data values, use mysql_stmt_prepare () to create a preprocessing statement. Then, before calling mysql_stmt_execute () to execute the statement, you can set each temporary parameter as follows: In the MYSQL_BIND structure related to the data value, set buffer_type to the corresponding type, this type specifies the temporary value type for sending. For DATE, TIME, DATETIME, or TIMESTAMP values, set buffer_type to MYSQL_TYPE_DATE, MYSQL_TYPE_TIME, MYSQL_TYPE_DATETIME, or MYSQL_TYPE_TIMESTAMP. Set the buffer member of the MYSQL_BIND structure to be used to pass

1. time-related functions for getting started with MySQL

Introduction: PHP extension date and time functions

The above is a detailed description of the recommended time-related functions. For more information, see other related articles in the first PHP community!

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.