Workflow notification emails

In the Notification message of a workflow, how can I convert <% =Operation.TargetToSet["accountExpires"] %> into a human readable date?

Parents
  • Shawn,

    I tried that but I get some odd errors.

    : error CS1502: The best overloaded method match for 'System.DateTime.FromFileTime(long)' has some invalid arguments
    : error CS1503: Argument 1: cannot convert from 'string' to 'long'

    I've tried to use Convert.ToInt64, but doesn't seem to help much :/

Reply
  • Shawn,

    I tried that but I get some odd errors.

    : error CS1502: The best overloaded method match for 'System.DateTime.FromFileTime(long)' has some invalid arguments
    : error CS1503: Argument 1: cannot convert from 'string' to 'long'

    I've tried to use Convert.ToInt64, but doesn't seem to help much :/

Children
No Data