Skip to content

The PHP Artisan

Have you written your next feature yet?

    • Write Ups
    • About Me

    how to remove days from php date

    What does date() do in PHP?

    Talking from experience, being able to manipulate time as developer is a great asset that many beginners and even senior developers fail to invest the time and effort to learn how it can be used effectively. With pretty much every system, there’s the need to work with timestamps and dates to keep track application cycles and recursive operations that may be executed in a period of time. What date() does is to create a string of the current unix timestamp...

    Continue reading...
    November 4, 2022 by administrator PHP

    Recent Entries

    • The Power of the Singleton Design Pattern: Creating Global Objects in PHP
    • CRUD Operations in PHP: A Beginner’s Guide
    • PHP OOP: Building Better Web Applications
    • Mastering MVC Design Pattern in PHP: A Complete Guide for Building Scalable and Maintainable Web Applications
    • How to Sort Arrays in PHP
    • How to Sort a Table by a MySQL Table Column
    • Working with Files in PHP (The Brief Way)
    • How to Submit a Form in PHP
    • Get JSON data from PHP file
    • What is a JS modal?
    • How to create a JSON Object in PHP?
    • How can I remove a specific item from an array?
    • How to check if an array is empty in PHP?
    • What does date() do in PHP?
    • What is a PHP class?
    • How does MVC pattern work?
    • What is stdClass in PHP?
    • Foreach in PHP
    • How to use include and require in PHP
    • How to use Session in PHP
    • Difference between isset() and empty()
    • Anonymous and Named Functions in PHP

    Categories

    • JavaScript
    • PHP

    The PHP Artisan © 2023. All Rights Reserved.

    Powered by WordPress. Theme by Alx.

      Manage Cookie Consent
      To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
      Functional Always active
      The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
      Preferences
      The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
      Statistics
      The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
      Marketing
      The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
      Manage options Manage services Manage vendors Read more about these purposes
      View preferences
      {title} {title} {title}