07-19-2012, 08:01 PM
Hi,
Below code might help to fulfill the requirement.Just Used 2 VBScripts functions to meet the requirement.
If anyone having better idea please share like ( FormatdateTime functions will work or not i am not sure)
Thanks,
Nilanjan
Below code might help to fulfill the requirement.Just Used 2 VBScripts functions to meet the requirement.
Code:
x="2012-07-19"
msgbox x
z=Replace(x,"-","/")
msgbox z
z1=Split(z,"/")
msgbox z1(1)+"/"+z1(2)+"/"+z1(0)
If anyone having better idea please share like ( FormatdateTime functions will work or not i am not sure)
Thanks,
Nilanjan