C#: get current time string

Trabla: C#: get current time string

Solving:

string lvTimeFormat = "yyyy/MM/dd";
string lvCurrentTime = DateTime.Now.ToString( lvTimeFormat  );

No comments:

Post a Comment