M
Miguel Dias Moura
Hello,
in an ASP.net page i have the following lines:
Dim Time As DateTime = Ctype(row("Time"),DateTime)
strEvents.Append("<br>" + Time + "-" + row("Event"))
In my access database the time is with the following format: hh:mm (It
doesn't include the seconds)
However, when i show strEvents the time shows like this: 12:30:00
How can i take out the seconds and display only the hours and minutes?
Thank You,
Miguel
P.S: I get the same result when i use the follwing code:
strEvents.Append("<br>" + row(Time) + "-" + row("Event"))
in an ASP.net page i have the following lines:
Dim Time As DateTime = Ctype(row("Time"),DateTime)
strEvents.Append("<br>" + Time + "-" + row("Event"))
In my access database the time is with the following format: hh:mm (It
doesn't include the seconds)
However, when i show strEvents the time shows like this: 12:30:00
How can i take out the seconds and display only the hours and minutes?
Thank You,
Miguel
P.S: I get the same result when i use the follwing code:
strEvents.Append("<br>" + row(Time) + "-" + row("Event"))