ICON Software Solutions
Assembly: Icon (in Icon.dll) Version: 2010.3.0.0 (2010.3.0.0)
Icon.Dates.GetDateForSql Method
Namespace:
IconAssembly: Icon (in Icon.dll) Version: 2010.3.0.0 (2010.3.0.0)
Syntax
| C# |
|---|
public static string GetDateForSql( Dates..::.Period DateRange, Dates..::.Selected DateSelected ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetDateForSql ( _ DateRange As Dates..::.Period, _ DateSelected As Dates..::.Selected _ ) As String |
| Visual C++ |
|---|
public: static String^ GetDateForSql( Dates..::.Period DateRange, Dates..::.Selected DateSelected ) |
| J# |
|---|
public static String GetDateForSql( Dates..::.Period DateRange, Dates..::.Selected DateSelected ) |
Parameters
- DateRange
- Type: Icon..::.Dates..::.Period
The Dates.Period enumeration denoting which date range to get.
- DateSelected
- Type: Icon..::.Dates..::.Selected
An enumeration denoting whether to get the Start Date or the End Date from the date range.
Return Value
A date for the specified date range, as a string for use in sql statements.
Remarks
Use this method to get the start or end date of a specified date range, as a string for use in sql statements.