Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6080773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:05:59+00:00 2026-05-23T11:05:59+00:00

I am using code igniter to power our site, but are not using the

  • 0

I am using code igniter to power our site, but are not using the code igniter date library (just the default php Date),

We have several, sites on the same server,

they reside in

www-nz
www-au
www-us

because all these sites use the same php.ini I cannot use date.timezone.

So I was thinking, sweet as, Ill just use .htaccess SetEnv TZ location e.g Pacific/Auckland

But it is having no effect, I have a feeling that code igniter might be resetting the timezone somewhere…

Anyone have a solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:06:00+00:00Added an answer on May 23, 2026 at 11:06 am

    date_default_timezone_set() is what I place the top of my index.php files in CodeIgniter. However I’ve learned that setting everything to UTC and then making any time zone conversions on the client side will save you A LOT of headaches 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using xampp for my php. And I have download a code igniter and
I'm using apache, php, mysql and code igniter and I have a database set
I'm using code-igniter to develop my php application. I just wanna ask if there
I have some problems using Code Igniter and I feel there is something I
I am using php with code igniter. I am designing a website with php.
When you are using code igniter you load a library or model like so
I am so confused right now, I am using code igniter php framework and
I'm using PHP/CURL to automate calls between 2 closely tied code igniter. Code igniter
I have a code igniter project, I have used Mod_rewrite to remove the index.php
I am building a site using code igniter. I am developing a custom product

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.