How to check the list of available timezones in magento 2 by using command line

You can check the list of available timezones in magento 2 by using command line:

php bin/magento info:timezone:list

Sees more details the command line info:timezone:list by using the command line help or option -h:

php bin/magento info:timezone:list -h
php bin/magento help info:timezone:list

Usage:
info:timezone:list

Options:
–help (-h) Display this help message
–quiet (-q) Do not output any message
–verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
–version (-V) Display this application version
–ansi Force ANSI output
–no-ansi Disable ANSI output
–no-interaction (-n) Do not ask any interactive question

Add Comment

Required fields are marked *. Your email address will not be published.