Where are you getting the login number from?
Here is a formula that gets you most of the way there, but I'm not sure where you're getting the login number, so for now I just put "001" in the formula:
var text MonthNumber=Left(ToText([DateTime]),2);
var text YearNumber=Mid(ToText([DateTime]),9,2);
var text LogNumber="001"; //Need to fix this
$YearNumber&$MonthNumber&$LogNumber
If the DateTime field is 09-27-2021 01:49 PM, then it will output 2109001
If you can share where the login number comes from I can help you get that working in there dynamically.
------------------------------
Jeff Peterson
------------------------------