Is there a way to directly obtain the default date separator character? I had thought it would be provided via the class DateFormatSymbols similar to the way the grouping and decimal separators are provided via the class DecimalFormatSymbols. I know I could obtain the value indirectly by creating a date and parsing the short format but it seems there should be an easier way?
posted 12 years ago
There is no such property. The date format depends on the Date class implementation. You can convert date in to any format convenient to your application.