on 05-30-2022 6:13 PM
I'm trying to include the datasource in my code to complete the date, but as soon as I run the error application in this part:
if (!string.IsNullOrWhiteSpace(startdate))
{
var ddmmyyyy = startdate.Split('/');
var yyyymmdd = $"{ddmmyyyy[2]}/{ddmmyyyy[1]}/{ddmmyyyy[0]}"; - The index is outside the matrix limits
startdate = $"convert(date,'{yyyymmdd}')";
}
maybe someone can help me please
User | Count |
---|---|
107 | |
12 | |
10 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.