Jay GaoHow to Compare Dates with Moment.jsTo compare dates with Moment.js, you can use its built-in diff method, which returns the difference between two dates in a specified unit…·2 min read·Feb 24, 2023----
Jay GaoHow to encrypt and decrypt a message using the OpenSSL in PHPHere’s an example PHP program to encrypt and decrypt a message using the OpenSSL library:·8 min read·Feb 24, 2023----
Jay GaoDetect if a string is contained in another string (Javascript)In JavaScript, you can detect if a string is contained within another string using the includes() method or the indexOf() method.·1 min read·Feb 22, 2023----
Jay GaoBasic Tutorial of strtotime() function in PHPThe strtotime() function is a built-in PHP function that allows you to parse a string that represents a date and time, and returns the Unix…·2 min read·Feb 22, 2023----
Jay GaoCalculate days difference in PHPTo calculate the number of days between two dates in PHP, you can use the DateTime class and the diff() method, which returns a…·2 min read·Feb 22, 2023----
Jay GaoHow to compare date in PHPTo compare dates in PHP, you can use the built-in DateTime class. Here’s an example:·2 min read·Feb 22, 2023----
Jay GaoLaravel 8 — Passport API Routing Rate LimitingIn Laravel 8, the rate limiting has been improved.·1 min read·Jan 18, 2021----