This question is locked. New answers and comments are not allowed.
Hey there,
Server stores dates in UTC and I am trying to format this invoice date to local time. I am using a client template and have been told the following:
"In order to format date with Ajax binding then you should use this code snippet: .ClientTemplate("<#= InvoiceDate #>")
InvoiceDate in this case will be JavaScript Date object. You can use JavaScript to convert it to local time."
--- so if anyone could explain how exactly I can manipulate this object to local time with javascript it would be much appreciated.
Cheers,
Toby Holland
Server stores dates in UTC and I am trying to format this invoice date to local time. I am using a client template and have been told the following:
"In order to format date with Ajax binding then you should use this code snippet: .ClientTemplate("<#= InvoiceDate #>")
InvoiceDate in this case will be JavaScript Date object. You can use JavaScript to convert it to local time."
--- so if anyone could explain how exactly I can manipulate this object to local time with javascript it would be much appreciated.
Cheers,
Toby Holland