Milliseconds since 01 Jan 1970...
This is an open discussion with 3 replies, filed under XSLT.
Search
Look at the options available in the EXSLT library, http://exslt.org/date/index.html
I have been playing around with trying to pull in the getTime function from Yahoo developers - I tried bringing it in as an external datasource but the caching makes that approach unfeasable.
I tried to use EXSLT but cannot find the correct syntax for milliseconds since epoch :(
Got around the problem with a slightly heavy handed approach...I made a custom data source which utilised php's microtime(); functionality. With a bit of string formatting I now have my desired result.
Create an account or sign in to comment.
Hey people.
Does anybody here know a quick and simple way to getting today's date formatted solely as milliseconds since 01 Jan 1970? I am currently using Javascript as a solution, however this is having issues with users who have Javascript disabled. grumble grumble grumble.
I know that you can get $today to display today's date, so is there a way that format-number( ) can be used to edit the behaviour of the string?
Any help would be muchios appreciatos! :D