Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #75 (closed task: worksforme)

Opened 6 years ago

Last modified 6 years ago

Example needed on usage of Epoch getUtcTime().

Reported by: CharlesH Assigned to: kris
Priority: minor Milestone: 1.0
Component: Tango Version:
Keywords: getUtcTime Cc:

Description

I can't figure out how to use Epoch getUtcTime(). It may be working. It may not. I can't tell how I'm supposed to be using it, so I don't know whether or not it's broken.

I'm running on Debian Etch Linux.

Change History

08/06/06 06:01:36 changed by larsivi

  • type changed from defect to task.
  • milestone set to 1.0.

08/16/06 02:35:35 changed by kris

  • status changed from new to closed.
  • resolution set to worksforme.

Take a look at example/localtime.d? It uses setLocalTime() instead, which is the inverse operation. A getLocalTime() on the resultant Epoch.Fields should return the original value provided to setUtcTime()