Clear Up
SharpKit Reference

JsDate.toLocaleDateString Method

Returns a date as a JsString value appropriate to the host environment's current locale.

Namespace: SharpKit.JavaScript

Class: JsDate


public JsString toLocaleDateString()

Return Value

Type: SharpKit.JavaScript.JsString
A JsString value that contains a date, in the current time zone, in an easily read format. The date is in the default format of the host environment's current locale. The return value of this method cannot be relied upon in scripting, as it will vary from computer to computer. The toLocaleDateString method should only be used to format display – never as part of a computation.
© Copyright 2005-2011 SharpKit. All rights reserved.