Syntax Question %d so many of these - what do they mean in this snippet?
Posted: October 21st, 2020, 10:36 am
Hello, so I am going to ask for some probably obvious questions.
What do all of these %d or %a mean when used in these repeating syntax formats?:
Date.Offset:match('^([^%d]-)(%d+)[^%d]-(%d%d)')
local MatchTime = '%a%a%a (%d+) (%a%a%a) (%d+) at (%d+)%:(%d+)(%a%a)'
I know alone each one is %d Day of month as number, zero padded (01 - 31), and %a Abbreviated weekday name.
Certainly the actual meaning of the above is different? Or what do they do and mean?
What do all of these %d or %a mean when used in these repeating syntax formats?:
Date.Offset:match('^([^%d]-)(%d+)[^%d]-(%d%d)')
local MatchTime = '%a%a%a (%d+) (%a%a%a) (%d+) at (%d+)%:(%d+)(%a%a)'
I know alone each one is %d Day of month as number, zero padded (01 - 31), and %a Abbreviated weekday name.
Certainly the actual meaning of the above is different? Or what do they do and mean?