They asked me to create a SOAP webservice with C#. The problem is they want from me to create a function with datetime parameter, and they want to send a formatted string.
Like below,
Decleration: int func(DateTime)
Then they want to call it like below,
Function Call: int result = func("01/01/2017 01:00:00")
According to my research I didn't find any solution to this.
Is it possible to do declare DateTime and send formatted string to it? Isn't the function decleration must be string, not datetime?
Edit: I was asked this because customer wanted it.
Thanks.