adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / JobVariableHelper Class / GetDateValue Method

In This Topic
    GetDateValue Method
    In This Topic
    Gets or sets the value as a DateTime containing only a date.
    Syntax
    'Declaration
     
    
    Public Shared Function GetDateValue( _
       ByVal variable As IJobVariable _
    ) As Nullable(Of Date)
    public static Nullable<DateTime> GetDateValue( 
       IJobVariable variable
    )

    Parameters

    variable
    Remarks
    If the value is set using this property, the VariableType is changed to JobVariableType.Date. This property returns null if the variable has no value, or if the value cannot be converted to a DateTime. adTempus stores DateTime values in the format "yyyy-MM-dd"
    See Also