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

How to Check Whether Checkbox is checked or not using Javascript

22 December 2021developerblog87

How to Generate a Random Number in PHP

20 March 2022

How to Remove Billing Address in WooCommerce

28 May 2022

Recent Posts

  • M2 MacBook Air reportedly hitting stores July 15 with pre-orders a week earlier
  • Mobile-friendly Sketch Pad With jQuery And Canvas – Sketchpad.js
  • PSA: TweetDeck for Mac will no longer be available after July 1
  • iPhone 14 chip news: What to expect
  • Employee badges at 167 Green Street in Chicago gain Apple Wallet capabilities

Popular Categories

  • Adobe Photoshop (106)
  • Android (123)
  • Angular (14)
  • Apple (2,813)
  • Bootstrap Framework (6)
  • C# (5)
  • Css (126)
  • Drupal CMS (425)
  • IT Development (155)
  • Java (3)
  • Javascript (27)
  • Joomla (45)
  • jQuery (339)
  • Laravel (136)
  • Magento (18)
  • Mysql (204)
  • PHP (49)
  • PostgreSQL (9)
  • Python (100)
  • Reacte Native (7)
  • Ruby (16)
  • Web development (122)
  • Wordpress (30)

Categories

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

Latest News

  • M2 MacBook Air reportedly hitting stores July 15 with pre-orders a week earlier

    30 June 2022
  • Mobile-friendly Sketch Pad With jQuery And Canvas – Sketchpad.js

    30 June 2022

Contact Us

Address: chamber no 1406 Rohini
court New
Delhi 110088

Email: deloperblog87@gmail.com

© 2022 All rights reserved.