[thelist] Friday Freebie

Scott Dexter sgd at ti3.com
Thu Jul 20 22:16:02 CDT 2000

In case you've missed it in previous posts, here is the zeropad() function I
use in the the MakeDate() below:

Function zeropad(byval val, byval ceiling)
if len(val)<ceiling then ' pad with zeros to make ceiling chars long
	for i=1 to ceiling-Len(val)
		val = "0"&val
end if
zeropad = val
End Function

think safely

> -----Original Message-----
> From: Scott Dexter [mailto:sgd at ti3.com]

> zeropad(month(dval),2)

More information about the thelist mailing list