That is not like any normal return value for such a literal. Please give the 
actual output.

It is likely in a different time zone than your local time zone. See:

https://stackoverflow.com/questions/24978636/jena-storing-date-in-xml-datetime-unexpected-behaviour/24982714#24982714

---
A. Soroka
The University of Virginia Library

> On Sep 25, 2016, at 9:01 AM, tina sani <[email protected]> wrote:
> 
> It gives me 22.59 but my system current time is 3:59 PM .
> 
> On Sun, Sep 25, 2016 at 5:57 AM, A. Soroka <[email protected]> wrote:
> 
>> Please explain what you expect to get, and what you actually get.
>> 
>> ---
>> A. Soroka
>> The University of Virginia Library
>> 
>>> On Sep 25, 2016, at 8:53 AM, tina sani <[email protected]> wrote:
>>> 
>>> I want to display the current Date and/or Time of the system, but it does
>>> not give me the correct system date and time.
>>> 
>>> Calendar cal = GregorianCalendar.getInstance();
>>> Literal value = model.createTypedLiteral(cal);
>>>       individual.addLiteral(date, value);  //date is property name
>> 
>> 

Reply via email to