You need to sign in to do that
Don't have an account?
Nagarajan C
Facing issue in Current Date in LWC
Facing issue in Current Date in LWC.
I am auto populated current date in date filed. below is my code in lwc JS.
connectedCallback() {
//Current Date
this.currentDate = new Date().toISOString();
}
but this not working s perfectly Indain stand time . GMT centeral day light time showing one day after. Calender it is showing 24 but autopoulated date is 25.Any one hlep on this issue.
Thanks
C. Nagarajan
I am auto populated current date in date filed. below is my code in lwc JS.
connectedCallback() {
//Current Date
this.currentDate = new Date().toISOString();
}
but this not working s perfectly Indain stand time . GMT centeral day light time showing one day after. Calender it is showing 24 but autopoulated date is 25.Any one hlep on this issue.
Thanks
C. Nagarajan
try this : ---------------
If you find your Solution then mark this as the best answer to close this question.
Thank you!
Regards,
Suraj Tripathi