Hi Everyone,
Can you tell me where I made mistakes?
I'm trying to see if the current time is equal or greater than a value stored in a label view text property.
Thanks.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			Can you tell me where I made mistakes?
I'm trying to see if the current time is equal or greater than a value stored in a label view text property.
Thanks.
			
				B4X:
			
		
		
		Sub TheTimeIsInTheSilentPeriods() As Boolean
   
    Dim blnReturnValue As Boolean = False
    Dim lngTicksNow As Long = DateTime.Now
    Dim lngTicksStartTime As Long = DateTime.TimeParse(strSilentPeriod1Start)   
    If lngTicksNow => lngTicksStartTime Then
        ToastMessageShow("The time is part of the silent period.", False)
    End If
   
    Return blnReturnValue
End Sub 
				 
 
		 
 
		 
 
		 
			 
 
		 
 
		 
 
		