Get Latest file from folder

How to get latest file from directory

This post I¬†will describe, how to get most resent file from directory based on display date or a date from file name. We have below sample¬†files in our directory and every file has date in the name of file, based on that we will decide which file is most resent rather than file created date/ […]