In previous example, Value.strdup_contents prints GLib.DateTime as pointer address.
You can register functions that will transform value to desired type. First, create a function that will have this signature :
static void datetime_to_string (Value src_value, ref Value dest_value) {
DateTime ...