-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get date in UTC? #316
Comments
Use the timezone For example, |
@DanTalash |
It appears to work for me on Chrome/Firefox/IE. Does this plunkr work for you? |
Yeah it seems normal, but I tried something like the Live demo and it does not work .. do you have some tips, what i'm doing wrong? Thanks. |
I still cannot reproduce any issue. Please see this updated plunkr. Does it appear normal to you? |
I expected this format: DD/MM/YYYY HH:mm 22/02/2017 08:45, but is showing like this :2017-02-18T12:00:00.000Z.(Look the date.minDate format) |
You should look into the moment format functions. Because Look at this updated plunkr for an illustration. |
@DanTalash Thanks for the help, it solved my problem 👍 |
Hi, currently the datepicker is using my browsers tz, but i want to have it ALWAYS to use utc regardless where the user sits in the world. How can i achieve this?
The text was updated successfully, but these errors were encountered: