Thursday, 15 August 2013

c# - Unable to find DateTool -



c# - Unable to find DateTool -

in java velocity, in order format dates add together date tool context e.g.

context.add("date", new datetool());

and within template

$date.format('eee, mmm d, yyyy @ ha', $mydate)

but in nvelocity unable find datetool, doesnt seem part of library.

you should able phone call .tostring("...") on system.datetime.

c# velocity nvelocity

No comments:

Post a Comment