Starts in:
2 DAYS
4 HRS
28 MIN
35 SEC
Starts in:
2 D
4 H
28 M
35 S
Open Closed

Angular: Localization - display of date & time in user's local timezone format #312


User avatar
0
Repunjay created

Hi,

Is there a way in ABP.IO to determine user local timezone when they login and based on it display the date and time into local timezone and format? We are storing date and time in GMT+0 in database. Note - the UI is developed in Angular

Thanks & regards, Repunjay


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    hi,

    yes, you can find current user's timezone and datetşne format. after login, Angular client makes request to http://alper-2.demo.commercial.abp.io/api/abp/application-configuration and gets user's culture & time zone & date time format etc.. see this

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06