Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing Dates in C#
Message
From
27/09/2011 10:56:12
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01524808
Message ID:
01524885
Views:
47
Anytime -

>Many thanks for help..
>Regards,
>Gerard
>
>
>>>What is the equivalent of the ^ symbol in C#
>>>? DATE() > {^2011/09/26} (in C# to ensure that Date Locality is not taken into account and Month is ot mixed up with Day ?)
>>>
>>>Tia
>>>Gerard
>>
>>I have not found how you can define datetime literals
>>
>>In the example above
>>
>>
>>bool greater = DateTime.Now.Date > new DateTime(2011, 09, 26);
>>
>>or 
>>
>>bool greater = DateTime.Today > new DateTime(2011, 09, 26);
>>
>>
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform