Format of _Modified System Field

R

reytheist

I am currently exporting the data from a discussion tool into InfoPath, and I
am having issues getting InfoPath to properly format the integer provided by
Groove's export on the _Modified field. In what format does Groove store
dates in XML?
 
R

reytheist

Thank you, Mark. I feel like I'm closer, but not quite there yet.

I'm not sure if I mentioned, but I am using Groove 2007.

I am trying to convert the _Modified field into something useable. I created
a hidden text field called "ExportingModifiedDate" then added the following
lines of script to the OnBeforeSubmitData() function.

try {
var dateValue = new Date(GetField("_Modified"));
var dateString = GetApp().FormatDateTime(dateValue.valueOf(), 3, 3 );
SetField("ExportingModifiedDate", dateString);
}
catch(err) {
alert("Error in exporting date value: " + err.description);
}

Unfortunately, this returns "Error in exporting date value: Object expected".

Thanks again for your assistance.

Rey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top