Click to return to the XML (Extensible Markup Language) home page    
end Method     Information Methods    
Web Workshop  |  XML (Extensible Markup Language)

date Method


Casts values to date format.

Syntax

date(date-value)

Parameters

date-value
String representation of a date in the format "mm-dd-yy" or in the ISO date formats supported by XML data types.

Remarks

The parameter can either be a string literal or an XSL pattern. For example, date("1-1-99") casts "1-1-99" to a date; date(a/b) casts b's within a's to dates.

See Also

XML Data Types Reference



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.