Format Date Time
Hi ,
My Report is displaying DateTime in MMDDYYYY format, i want in DDMMYYYY format.
I tried FormatDateTime(DATA,"ddMMyyyy") but its not working.
Please help !!
Irfan
My Report is displaying DateTime in MMDDYYYY format, i want in DDMMYYYY format.
I tried FormatDateTime(DATA,"ddMMyyyy") but its not working.
Please help !!
Irfan
Comments
FormatDateTime uses predefined format name:
To format the Text object, right-click it, select "Format...", choose custom format and type the following formatting string:
dd/MM/yyyy
it's right but i use in Edit Text: [Format([Dt], "dd/MM/yy")] - [FormatNumber([Num],0)] not work.
I have this problem even when I use Format in code: Text1.Text = Format(Dt.Value, "dd/MM/yy") or Saldo.Text = Format(_Saldo,"#.##0,00")
Thanks.
Please read the doc regarding the use of Format function:
http://fast-report.com/documentation/UserM.../funcformat.htm
Correct use:
Text1.Text = Format("dd/MM/yy", Dt.Value)
Console.WriteLine("Today is " + thisDate1.ToString("MMMM dd, yyyy") + ".");
DateTimeOffset thisDate2 = new DateTimeOffset(2011, 6, 10, 15, 24, 16,
TimeSpan.Zero);
Console.WriteLine("The current date and time: {0:MM/dd/yy H:mm:ss zzz}",
thisDate2);
// The example displays the following output:
// Today is June 10, 2015.
// The current date and time: 06/10/11 15:24:16 +00:00
I am trying to create a button, which will Skip the dialogue and go to the next dialogue and Exit and Back. what is the code for Skip, Next and Back?