6
Answers

StartTime and Endtime

Ekrem Tapan

Ekrem Tapan

9y
563
1
hello everybody, i wantto ask  
i have a two variable date starttime and end time.
 
when i create a post set that show time and end time
 
so can i use this code set it ?  on frontend
 
If ((dt.Rows(i).Item("DisplaySDate") <= DateTime.Now) && (dt.Rows(i).Item("DisplayEDate") >= DateTime.Now) Then
Me.Visible = True
ElseIf dt.Rows(i).Item("DisplayEDate") < DateTime.Now Then
Me.Visible = True
Else
Me.Visible = False
End If
 

Answers (6)