simple question how do i get the current time the app was run. basically i have mulitple users and i need to get the time relative to the current logged in users timezone. i read somewhere yii supports users localetime. so i guess im asking how do i make yii get the current users timestamp any ideas??
Timezone information is not part of the request header. So all you know about your visitor is his IP. You could try to resolve that to a country and use a lookup table to find the corresponding timezone.