pd

Format a number with total number of digits
I used it to format a date as "yyyy-mm-dd"


Public

Tested

My Own Work

n, totalDigits

BBlogDate = pd(Year(BBlogDate),4) & "-" & pd(Month(BBlogDate),2) & "-" & pd(Day(BBlogDate),2)

Views 2797 Downloads 1053