The following is my code:

    Public Sub UpdateStaffMovement()
                Dim str As String = "05/09/2017" '5th Sept 2017
                Dim Staff_Confirm_Date as Date = DateTime.ParseExact(str, "dd/MM/yyyy", Nothing)
    End Sub

But everytime the Staff_Confirm_Date will become MM/dd/yyyy format which I want it to be dd/MM/yyyy. I really have no idea why it could be like that. Can anyone help?