on 09-23-2008 7:08 AM
hi all,
please help me to i have date format mm/dd/yyy is coming instead of that ineed dd/mm/yyyy please give me the solution on that
ADVANCE THANKS,
siva
assume dt is date value.
dt.tostring("dd/mm/yyyy")
regards,
avijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dim Currentdate as date
currentdate = Format(Date.Today, "MM/dd/yyyy")
or
DateTime oldDate = ...//your datetime in MM/dd/yyyy format
DateTime newDate = DateTime.Parse(oldDate.ToString("dd/MM/yyyy")); //
in the new format
Check this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.