..NET enumerates the day of the week as 0-6 ( Sunday to Saturday ). This seems to remain the same regardless of the culture settings.
Just wondering if this is alterable is some way, and if not how you guys work out for example, next Sunday. I mean sure, I can create a function which will allways return the number of days between today and sunday using for example the day name and a select statement, but it seems too complex.
Any ideas on the simple approach ?
Just wondering if this is alterable is some way, and if not how you guys work out for example, next Sunday. I mean sure, I can create a function which will allways return the number of days between today and sunday using for example the day name and a select statement, but it seems too complex.
Any ideas on the simple approach ?