Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass a date as a parameter
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01547794
Message ID:
01547795
Views:
48
>Hi.
>I want to passs a Date (Not dateTime) as a parameter to a C# method, but intellisense does not bring up an option for a Date in the Method
>Is this possible ?

No. There is no such thing as Date in .NET. What is the actual parameter ? (you can pass DateTime.Date but it is still a DateTime)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform