pub fn to_day(&self) -> Timestamp {
        let mut c = self.to_owned();
        c.set_time(0, 0, 0);
        c
    }
/// Make a timestamp with the time component set to 00:00:00.
///
/// # Examples
///
/// ```rust
/// use twitch_api2::types::Timestamp;
///
/// let time = Timestamp::new("2021-07-01T13:37:00Z").unwrap();
/// assert_eq!(time.to_day().as_str(), "2021-07-01T00:00:00Z")
/// ```  
Make a timestamp with the time component set to 00:00:00.
Make a timestamp with the time component set to 00 : 00 : 00 .
pub fn to_day(&self) -> Timestamp {
        let mut c = self.to_owned();
        c.set_time(0, 0, 0);
        c
    }
pub fn to_day ( & self ) -> Timestamp { let mut c = self . to_owned ( ) ; c . set_time ( 0 , 0 , 0 ) ; c }
Make a timestamp with the time component set to 00:00:00.
Make a timestamp with the time component set to 00 : 00 : 00 .
&self
&self
examples
```rust
use twitch_api2::types::Timestamp.


` ` ` rust use twitch_api2 :: types :: Timestamp .