Frontaccounting Change TimeZones based on your locality |
X

Congrats, You are Subscribed to Receive Updates.

Frontaccounting Change TimeZones based on your locality


Frontaccounting Change TimeZones based on your locality. Generally, we have options to select our time zones in Config.php and Config.default.php. But it doesnot work properly.  So I always use a simple way to change the time zones based on the clients timezone. You need to take a look the php supported times zones here.

PHP Time Zones report.  Here select your continent and followed by nearest time zones,  I am an indian. So my time zone lies under the Asia, under that. ” Asia/Kolkata ” .  So my time zone with PHP syntax is

//KVcodes time zone
date_default_timezone_set("Asia/Kolkata");

Now, we have to open the date_functions.inc file to make the changes to take effect.

Just goto root of Frontaccounting and followed by ” includes> date_functions.inc”

Here just place the above code in the top of the file below the comment lines, than save this file and exist. And now, move to frontaccounting  and check the date, it will be changed as per your time zone.

 

 

commenter

About Varadharaj V

The founder of Kvcodes, Varadharaj V is an ERP Analyst and a Web developer specializing in WordPress(WP), WP Theme development, WP Plugin development, Frontaccounting(FA), Sales, Purchases, Inventory, Ledgers, Payroll & HRM, CRM, FA Core Customization, PHP and Data Analyst. Database Management Advance Level

2 comments

  1. commenter

    Where does the setting in the config.php “not work properly”? Please be explicit when you fault a standard config variable. Also have you raised this issue in the forums?

  2. commenter

    thanks, it’s work

Comment Below

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

*

Current ye@r *

Menu

Sidebar