code: protected String parseDateToString(Date date, Context context, Arguments args)
      {
          final DateFormat dateFormat = parseFormatter(context, args);
          dateFormat.setTimeZone(context.get(Contexts.TIMEZONE));
          return dateFormat.format(date);
      }
docs: Parses the given date to a string depending on the context.
  
  @param date The date to parse.
  @param context The context to use.
  @param args The arguments of the macro.
  
  @return The number as a string.