Hello , Here is my code ,
<input hidden
type="text"
class="form-control"
name="testHijriInput"
value="@DateTime.Now.AddMonths(-1).Date.ToString(CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern)" />
I have used CultureInfo.CurrentUICulture .
Hello , ABP Framework version: v5.1 UI type: MVC
Hello, Our application support 2 languages, Arabic (ar) and English (en), so we faced an issue using a date picker when UI Culture is ar. It returns in Hijri format, not Gregorian format when its type is Date Time, not a string.
How can I specify only Gregorian date format without using current culture please?
Thanks in advance