Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Each user can set timezone
Post: RE: Each user can set timezone

mboufos Wrote: (10-15-2019, 01:24 PM) -- Well, i dont do it i dont want to have different time on server different on user and database, so i keep the timestamp the same and i just change the timesta...
11,665 Views
13 Replies
10-15-2019, 08:16 PM
esjdev
    Thread: Each user can set timezone
Post: RE: Each user can set timezone

mboufos Wrote: (10-15-2019, 12:58 AM) -- Hello, i guess your question has been answered. I use this function ( from model) to convert any type of timestamp to the user date-time PHP Code: --     f...
11,665 Views
13 Replies
10-15-2019, 12:15 PM
esjdev
    Thread: Each user can set timezone
Post: RE: Each user can set timezone

jreklund Wrote: (10-14-2019, 10:39 AM) -- The recommended way are storing all time in UTC or GMT (whatever you prefer) and then use PHP DateTime to diff the time to the users timezone. If I remember ...
11,665 Views
13 Replies
10-14-2019, 12:12 PM
esjdev
    Thread: Each user can set timezone
Post: RE: Each user can set timezone

php_rocs Wrote: (10-14-2019, 07:18 AM) -- @esjdev, What variable type is $user->timezone? String?  Also, what values do you allow it to be? -- This variable gets the specific user's Timezone fro...
11,665 Views
13 Replies
10-14-2019, 10:10 AM
esjdev
    Thread: Each user can set timezone
Post: RE: Each user can set timezone

dave friend Wrote: (10-13-2019, 04:07 PM) -- esjdev Wrote: (10-13-2019, 10:10 AM) -- But it can't be read from Model to get user data for what I want to do. -- What can't be read? The function you...
11,665 Views
13 Replies
10-13-2019, 05:36 PM
esjdev
    Thread: Each user can set timezone
Post: RE: Each user can set timezone

php_rocs Wrote: (10-13-2019, 01:40 PM) -- esjdev Wrote: (10-13-2019, 10:10 AM) -- Exemple Code: -- date_default_timezone_set($user->timezone) -- How do I do it in Codeigniter? I tried to put i...
11,665 Views
13 Replies
10-13-2019, 01:58 PM
esjdev
    Thread: Each user can set timezone
Post: Each user can set timezone

Exemple Code: -- date_default_timezone_set($user->timezone) -- How do I do it in Codeigniter? I tried to put in the MY_Controller of Core, which is the main controller of my system. Only it does...
11,665 Views
13 Replies
10-13-2019, 10:10 AM
esjdev
    Thread: Codeigniter 3.1.~ Library Multi-Language
Post: RE: Codeigniter 3.1.~ Library Multi-Language

Update Library :D
7,238 Views
5 Replies
05-01-2019, 07:39 PM
esjdev
    Thread: Codeigniter 3.1.~ Library Multi-Language
Post: RE: Codeigniter Library Multi-Language

Codinglander Wrote: (04-30-2019, 02:53 PM) -- CI3 or CI4 ? -- CI3
7,238 Views
5 Replies
04-30-2019, 08:25 PM
esjdev
    Thread: Codeigniter 3.1.~ Library Multi-Language
Post: Codeigniter 3.1.~ Library Multi-Language

Multi-Language Library to Codeigniter 3.1.~ https://github.com/esjdev/codeigniter-library-language (https://github.com/esjdev/codeigniter-library-language)
7,238 Views
5 Replies
04-29-2019, 01:18 PM
esjdev
    Thread: Codeigniter + Blade + Eloquent
Post: Codeigniter + Blade + Eloquent

More information  :) https://github.com/esjdev/codeigniter-Blade-Eloquent (https://github.com/esjdev/codeigniter-Blade-Eloquent)
3,971 Views
1 Replies
04-24-2019, 11:09 PM
esjdev

Theme © iAndrew 2016 - Forum software by © MyBB