Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

ToString Method for Saving Datetime value

$
0
0
how can i save date and time using ToString() Method of datetime picker in vb.

dtFrom.Value.ToString("MM/dd/yyyy") // currently i m using this but it will not give me time part. which is also mandatory for me.

required format is month day year hour min sec am/pm

my time part is always zero by using above code i can't find format strings for time part. need assistance.

Viewing all articles
Browse latest Browse all 27554

Trending Articles