Random Date

Creates a string presentation for the random date in specified range with required format.
C/C++
char* DateRandom(char *format,char *from,char *to)

C#
string DateRandom(string format,string from,string to)

The format string can contain:
YY - two digits year value.
YYYY - four digits year value.
MM - month value from 1 to 12.
mon - month name (jan to dec).
DD - day from 1 to 31.
separators like '.','/' or '-'.

Examples: DD.MM.YYYY, DD-mon-YYYY
Important: 'from' and 'to' should be compatible with the format specified by 'format' parameter.