Skip to content
Developer Blog

Developer Blog

  • Web development
  • Laravel
  • WordPress
  • Magento
  • IT Development
    • Angular
    • Python
    • Ruby
    • jQuery
    • Javascript
    • PHP
    • Css
    • C#
    • Android
    • Java
    • Reacte Native
  • Drupal CMS
  • Bootstrap Framework
  • Adobe Photoshop
  • Apple

How to get Current Month in PHP?

PHP
13 March 2022

We will use the date function to get the current month in PHP.

<?php

//half name in words
echo date(‘M’);

//full name in words
echo date(‘F’);

//Month Number
echo date(‘m’);

View Demo

The post How to get Current Month in PHP? appeared first on PHPGurukul.

Post navigation

Can Beats Fit Pro replace AirPods Pro as your go-to wireless earbuds?
#! code: Drupal 9: Creating A Block To Render A Node Field

Related Posts

XAMPP vs WAMP vs MAMP vs LAMP

24 February 2023

How to get Factorial of a number using Recursive Function

5 September 2022

XAMPP Control Panel

19 February 2023

Recent Posts

  • HomePod and HomePod mini officially coming to Singapore next week
  • iOS 16.5 beta brings highly-requested ‘My Sports’ tab to Apple News
  • 9to5Mac Daily: March 28, 2023 – Apple Music Classical and Apple Pay Later
  • iOS 16.5 beta enables screen recording via Siri [Video]
  • ChromeOS and desktop Chrome are getting a Reading Mode

Popular Categories

  • Adobe Photoshop (283)
  • Android (284)
  • Angular (19)
  • Apple (6,865)
  • Bootstrap Framework (15)
  • C# (5)
  • Css (265)
  • Drupal CMS (1,140)
  • IT Development (299)
  • Java (3)
  • Javascript (64)
  • Joomla (88)
  • jQuery (681)
  • Laravel (352)
  • Magento (21)
  • Mysql (634)
  • PHP (104)
  • PostgreSQL (19)
  • Python (247)
  • Reacte Native (14)
  • Ruby (37)
  • Web development (288)
  • Wordpress (79)

Categories

  • Adobe Photoshop
  • Bootstrap Framework
  • Drupal CMS
  • IT Development
  • Joomla
  • Laravel
  • Web development

Latest News

  • HomePod and HomePod mini officially coming to Singapore next week

    29 March 2023
  • iOS 16.5 beta brings highly-requested ‘My Sports’ tab to Apple News

    28 March 2023

Contact Us

Address: chamber no 1406 Rohini
court New
Delhi 110088

Email: deloperblog87@gmail.com

© 2022 All rights reserved.