B4X:
			
		
		
		Dim DateDiff As Long=25569
        Dim  DaySecs As Long=86400
        Dim val As Long
        If IsNumber(XLList.Get(3))  Then
            val=XLList.Get(3)
            val=  (XLList.Get(3) - DateDiff) * DaySecs
            Log(val)
            Log(DateTime.Date(val))
            Return
	what did I do wrong..thanks
			
				Last edited: