Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.67K
~128 People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for dougancil

You're already calculating @dayend newDate.Date.AddDays(1).AddSeconds(-1).ToString() I don't understand why you have an "If" in the front of it though?! The way I would do it would be: [CODE] Try cmd.Parameters.AddWithValue("@dayend", newDate.Date.AddDays(1).AddSeconds(-1).ToString("yyyy-MM-dd HH:mm:ss.fff")) cmd.ExecuteNonQuery() Catch ex As Exception errorlabel.Text = "Invalid Date" End Try [/CODE] I hope that helps... [I]- Looking …

Member Avatar for cvplay
0
128

The End.