Newbie question

I’ve got extensive knowledge of how to program in VB and VBA, but not in Applescript. Could someone please guide me to the equivalent of the VB/VBA Format function? In particular, I need to do the Applescript equivalent of the following:

sMyString = Format(dMyDate, “yyyymmdd-HhNnSs”)

The Format function returns a formatted string value based on the value provided (dMyDate, a date/time stamp in this case) according to the pattern provided (“yyyymmdd-HhNnSs”).

Any help would be greatly appreciated.

-Allen

A good place to start would be this thread.

Please post again if that does not help, or you need further clarification.