Date manipulation: Difference between revisions

Content added Content deleted
(Added 11l)
Line 14: Line 14:
<lang 11l>V format_str = ‘%B %d %Y %I:%M%p’
<lang 11l>V format_str = ‘%B %d %Y %I:%M%p’
print((time:strptime(‘March 7 2009 7:30pm’, format_str)
print((time:strptime(‘March 7 2009 7:30pm’, format_str)
+ time:delta(hours' 12)).strftime(format_str))</lang>
+ TimeDelta(hours' 12)).strftime(format_str))</lang>


=={{header|Ada}}==
=={{header|Ada}}==