I would like to be able to generate a Unique ID string (varchar 20) that is based on a datetime field (RecordCreated) and an algorithm.
eg.
2001-08-21 21:08:11.620 -> ef2108g11x620y8a331g082101
where "ef", "g", "x" and "y8a331g" are randomly created letters and or numbers in "ef2108g11x620y8a331g082101"
"2108", "11", "620", "082101" are based on the timestamp, ie. "2108" is the hour and minute, "11" and "620" are the seconds, and "082101" is the MMDDYY
Any suggestions?
eg.
2001-08-21 21:08:11.620 -> ef2108g11x620y8a331g082101
where "ef", "g", "x" and "y8a331g" are randomly created letters and or numbers in "ef2108g11x620y8a331g082101"
"2108", "11", "620", "082101" are based on the timestamp, ie. "2108" is the hour and minute, "11" and "620" are the seconds, and "082101" is the MMDDYY
Any suggestions?