R.Wieser
2019-05-09 07:23:12 UTC
Hello all,
I'm using timestamps and wanted to display them in a certain way. Though
when I took a look at "FormatDateTime" I found I could only have it return
one of five pre-defined formats, none of which served my purpose. So I
wrote my own, using a formatting string.
The thing is, the name of the system function is quite appropriate for what
my function is doing: FormatDateTime.
tl;dr:
Can I have the VBScript engine pick the right function depending on the
types of the provided arguments ?
I don't think its possible, but it doesn't hurt to ask. :-)
Regards,
Rudy Wieser
I'm using timestamps and wanted to display them in a certain way. Though
when I took a look at "FormatDateTime" I found I could only have it return
one of five pre-defined formats, none of which served my purpose. So I
wrote my own, using a formatting string.
The thing is, the name of the system function is quite appropriate for what
my function is doing: FormatDateTime.
tl;dr:
Can I have the VBScript engine pick the right function depending on the
types of the provided arguments ?
I don't think its possible, but it doesn't hurt to ask. :-)
Regards,
Rudy Wieser