Date comparison in XPATH
I am selectnodes from the MSXML 4.0 DOM document using XPATH query. The
query is as follow
Set objNodes = objXMLDocument.selectNodes("//SESSION[@SEXPIRE <= '" & Format(Now,
"mm-dd-yyyy hh:mm:ss") & "']")
however it does not returns the nodes with date time less than current datetime.
Does any one have solution to compare dates in xpath and select nodes
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL