#include <glib.h>
#include <glib/gprintf.h>

void main ()
{
        GDateTime *date_time;

        date_time = g_date_time_new_utc (2018, 1, 8, 11, 16, 42.123456);

        g_printf ("microsecs: %d\n", g_date_time_get_microsecond (date_time));

        g_clear_pointer (&date_time, g_date_time_unref);
}
