Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

JavaScript time

$
0
0

I need to use JavaScript and want the current time to display with either AM or PM.

 

I have the following script:

 

util.printd("m/d/yyyy h:MM A, new Date),

 

but it does not display AM or PM.

 

Is there a way to script this using javaScript?


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>