iOS Question [resolved] DateTime.DateParse giving negative

stingrae

Member
Licensed User
Longtime User
Sorry to ask, as this is probably something really silly, but has been driving me nuts for about 30 minutes ...

In the code below, why is intD coming back with a value of -643259264 ?

B4X:
        DateTime.DateFormat = "dd-MMM-yyyy"
        Dim strD As String = "04-Nov-2018"
        Dim intD As Int = DateTime.DateParse(strD)
        Log(intD)

Thanks in advance
 
Top