Luis 0 Posted February 22, 2013 Report Share Posted February 22, 2013 How can I work with a specific Time Zone inside my Application in Yii ? Quote Link to post Share on other sites
Larry 428 Posted February 22, 2013 Report Share Posted February 22, 2013 Could you be more specific as to what you're hoping to accomplish? Just saying that you want to work with a specific time zone is too vague. Quote Link to post Share on other sites
Luis 0 Posted February 26, 2013 Author Report Share Posted February 26, 2013 Thanks Larry. For example, in Laravel, in the config file, I can setup a variable for the time zone, for example "America/Mexico" and when I work with dates like (Now() function) the function returns the time and date of this specific time zone. Can I do something like this in YII ?, I'm asking this because of the shared hosting I use, and I don't have the change to configure the web server's time zone directly. Quote Link to post Share on other sites
Larry 428 Posted March 2, 2013 Report Share Posted March 2, 2013 Sorry for the delay. That's interesting about Laravel. Sounds like a nice feature, in theory. As far as I know, Yii does not have a comparable feature, but I haven't had the need to look into it in any depth. Normally I do all my date and time handling in the database. Sorry I could be more helpful here. Quote Link to post Share on other sites
Luis 0 Posted March 3, 2013 Author Report Share Posted March 3, 2013 thanks for answering Larry Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.