MyDateTime.ToSt ring("yyyyMMdd" ) and many, many variations; see
DateTime.ToStri ng method in help.
"LL" <lionelluo@hotm ail.com> wrote in message
news:OBTv9mDwDH A.2464@TK2MSFTN GP12.phx.gbl...[color=blue]
> Hi,
>
> What is the correct syntax for format date like VB:
>
> Format(MyDateTi me, "YYYYMMDD")
>
> Thanks.
>
>
>
>[/color]
"LL" <lionelluo@hotm ail.com> wrote in message
news:OBTv9mDwDH A.2464@TK2MSFTN GP12.phx.gbl...[color=blue]
> Hi,
>
> What is the correct syntax for format date like VB:
>
> Format(MyDateTi me, "YYYYMMDD")
>
> Thanks.
>
>
>
>[/color]
Comment