I'm having a readonly text box
and a button
in C#
.
When I'm clicking on button it should display in a text box in below manner:
MYYMMJJSS.
M
: Manual, YY
: The last digits of year, MM
: The month, JJ
: The Day, SS
: The Sequence for the concerned Day
Examples:
• On 1st February 2019
, a first order is created by user. The system proposes this value M19020101
.
• On 1st February 2019
, a second manual order is created by user. The system proposes this value M19020102
.
Can anyone helps me to understand how can i add a M
(manual) and Sequence number in the dates?