From: Josselin Date: 2006-09-15T01:35:51+09:00 Subject: modifying the hour in a datetime object already created In my prog, I create a datetime object d1s = DateTime.civil(2006,6,5,16,00,00) then later on, I need to create another datetime from this one by adding 1 day and changing the hour to 10:00:00 I can do easily d1e = d1s + 1 but how can I modify the hour, which stays at 16:00:00 ? thanks for your help joss