Opened 12 years ago

Closed 10 years ago

#5387 closed Feature Requests (wontfix)

Setting system time

Reported by: Ed <ed.boyer@…> Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost 1.47.0 Severity: Not Applicable
Keywords: Cc:

Description

Boost provides many examples of getting the system time, but I cannot find how to set the time/date of the system using boost. I don't know if this is an omission of documentation/examples or simply that it is not implemented. It would be a nice feature to have, but I do realize perhaps not as popular as getting the time. If this feature already exists, could an example be added to the website as I've been googling the subject most of the morning without results.

Change History (2)

comment:1 by az_sw_dude, 10 years ago

The library doesn't offer this function and frankly it's not something that's easy to implement in a portable fashion. And you're correct, it's not a use case that comes up frequently (this is first such request I've seen. As such I don't intend to supply this.

comment:2 by az_sw_dude, 10 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.