[#ASN1_TIME_print_ex]
= ASN1&lowbar;TIME&lowbar;print&lowbar;ex
:mrdocs:

Print an ASN&period;1 Time to a BIO with ASN1&lowbar;DTFLGS&lowbar;&ast; formatting flags&period;

== Synopsis

Declared in `&lt;openssl&sol;asn1&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;TIME&lowbar;print&lowbar;ex(
    xref:BIO.adoc[BIO]* bp,
    xref:ASN1_TIME.adoc[ASN1&lowbar;TIME] const* tm,
    unsigned long flags);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bp*
| Output BIO&period;
| *tm*
| Time value (UTCTime or GeneralizedTime)&period;
| *flags*
| Combination of ASN1&lowbar;DTFLGS&lowbar;&ast; (for example ASN1&lowbar;DTFLGS&lowbar;ISO8601)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
