the version 7.5 of the marvellous BaseX - database has the new
function
convert:dateTime-to-ms
This function is an ideal candidate to transform a fixed date like
'2012-09-21T00:00:00' to the unix timestamp,
well it was designed for it.
1. Therefore I would like to ask what a possible release date for
version 7.5 could be, is it planned in rather in
weeks or month?
2. I used
(current-dateTime() - xs:dateTime("1970-01-01T00:00:00")) div
xs:dayTimeDuration('PT0.001S')
as a starting point, but so far attempts to somehow substitute
current-dateTime()
with
xs:dateTime( '2012-09-21T00:00:00')
have not been successful. Just as a fall back if the current project
becomes productive earlier than the BaseX version 7.5.
3. It is rather easy to implement a function like
convert:dateTime-to-ms in Java and use it via a Java Binding, but
this
is politically not wanted within the project.
Thank you for your attention and with best regards
Andreas
P. S.:
The BaseXGUI is a really smart tool. And sometimes I think it would
enhance the productivity even further
if it would support parentheses matching ...
Nexoma GmbH - Ihre Agentur für Apps, Online Shops und
elektronische Produktkataloge
Niederlassung Paderborn
Technologiepark 20
33100 Paderborn