displaying current date in php
$today = date("F j, Y, g:i a"); // October 30, 2019, 10:42 pm
$today = date("D M j G:i:s T Y"); // Wed Oct 30 22:42:18 UTC 2019
$today = date("Y-m-d H:i:s"); // 2019-10-30 22:42:18(MySQL DATETIME format)date_default_timezone_set('Asia/Kolkata');
echo date("Y-m-d H:i:s"); // time in India
Also in PHP:
- $product->product_type
- base64 decocde shoiing special char in php
- dropzone uploader php
- New York Yankees
- check if index is undefined php
- find index of occurrence php
- @method overide form laravel
- date function php full year
- data format php
- cache set in laravel
- create path php
- clear cache routes laravel
- check character present in sentence in phph
- drupal 8 entity_view
- catch exception php
- double pipe in php
- array with files content in a folder
- doctrine orm get all
- Artisan call Cache:clear force
- captial functuon php
- <?php if ( is_home()
- array reverse phjp
- console .log in php
- convert image to base64 php