Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72388

Use CSS to format date/time or percent value?

$
0
0

Is there a way to use CSS to format a date using a specific format, e.g. YYYY/MM/DD, or MM/DD/YYYY, with or without time?

Also can a number be formatted as a percentage value with 2 decimals, e.g. 5.4321987 displayed as 5.43%

I could probably use JavaScript but I want to know first if it's possible to use CSS to do this?


Viewing all articles
Browse latest Browse all 72388

Trending Articles



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