DatePrototype.toGMTString(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a string representation of the specified DateObject that contains the day of the week, the month, the date, the year, and the time, expressed in Coordinated Universal Time (UTC). Use toUTCString(Object) instead, when you can.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::String ^ toGMTString(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_toGMTString)]
[Microsoft.JScript.NotRecommended("toGMTString")]
public static string toGMTString (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_toGMTString)>]
[<Microsoft.JScript.NotRecommended("toGMTString")>]
static member toGMTString : obj -> string
Public Shared Function toGMTString (thisob As Object) As String
Parameters
- thisob
- Object
The object that this method is acting upon.
Returns
A string representation of thisob
.
- Attributes
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應