Invoice Number | Order Number | Date | Current Date
Expert User
Verified
Invoice Number | Order Number | Date | Current Date
NA
DateTime now = DateTime.Now; string str = now.ToString(); string shams1 = str.Replace("/", ""); string shams2 = shams1.Replace("-", ""); string shams3 = shams2.Replace(":", ""); string shams4 = shams3.Replace(" ", ""); string shams5 = shams4.Replace("AM", "01"); string shams6 = shams5.Replace("PM", "02"); string shams = "PN" + shams6;
NA
Generate order number from current date and time in C#
Comments
Leave a Comment