I tried to make a recognized timestamp out of this date:

```
a <- VN 20190307
a <-gsub("\\D", "", a) ##Removed VN
as.POSIXct(a, format="%Y-%m-%d")

```

However, i get a NA. The outcome should be something like 2019-03-07

Side note: This is only a part of a confidential dataset