none
Asp.net core Set custom date time format to each user RRS feed

  • Question

  • In my project I  need to create ability for site users to select the date time localization format (e.g. en-US, zh-Cn, etc.) And change date time format across the whole site according to this option how can i do it? I've tried to use the CultureInfo.DefaultThreadCurrentCulture but it change culture for the whole application, not only for the one user.

    Thursday, May 25, 2017 4:03 PM

All replies

  • Hi Chubbs,

    This forum discusses and asks questions about the C# programming language, Since your issue is more related to asp.net core, I would suggest that you could post your issue on asp.net core for suitable support.

    https://forums.asp.net/1255.aspx/1?ASP+NET+Core

    Thanks for your understanding

    Best regards,

    Cole Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, May 26, 2017 3:20 AM