JAMS Developer Guide
Evaluate(String,DateTime,Server) Method


MVPSI.JAMS Namespace > Date Class > Evaluate Method : Evaluate(String,DateTime,Server) Method
The natural language date specification.
The date that should be considered "today" when evaluating the date specification.
The JAMS Server to use when evaluating the date specification.
Evaluate a natural language date and return the date that it identifies.
Syntax
'Declaration
 
Public Overloads Shared Function Evaluate( _
   ByVal dateString As System.String, _
   ByVal today As System.Date, _
   ByVal server As Server _
) As System.Date
'Usage
 
Dim dateString As System.String
Dim today As System.Date
Dim server As Server
Dim value As System.Date
 
value = Date.Evaluate(dateString, today, server)
public static System.DateTime Evaluate( 
   System.string dateString,
   System.DateTime today,
   Server server
)

Parameters

dateString
The natural language date specification.
today
The date that should be considered "today" when evaluating the date specification.
server
The JAMS Server to use when evaluating the date specification.

Return Value

The date that the string represents.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Date Class
Date Members
Overload List