Last Modified Date

Archived from the Xataface Users forum.

njw — Fri Aug 01, 2008 3:46 am

Does the last modified date field have to have a specific name or is there an option to tell Xataface that this is the date field to use?

Many thanks

Neil


shannah — Fri Aug 01, 2008 7:54 am

Use the timestamp=update directive in the fields.ini file.

e.g.

[my_field]

timestamp=update

Just make sure that the field allows null values.

-Steve


njw — Fri Aug 01, 2008 8:20 am

Neil


njw — Fri Aug 01, 2008 8:22 am

But how does Xataface know that this is the field to use if I have more than one date field?

Thanks

Neil


shannah — Fri Aug 01, 2008 8:24 am

You specify the timestamp parameter in the section for one particular field. In the example I gave above you would be using the [my_field] field.

-Steve