DS1337.cpp
void DS1337::setDateTime(unsigned long timestamp) {
    int y,m,d,h,mm,s;
	DS1337::getTime(timestamp, y, m, d, h, mm, s);
    setDateTime(y, m, d, h, mm, s);
}
/**
 * Set the current date and time with a timestamp
 */
Set the current date and time with a timestamp
Set the current date and time with a timestamp
void DS1337::setDateTime(unsigned long timestamp) {
    int y,m,d,h,mm,s;
	DS1337::getTime(timestamp, y, m, d, h, mm, s);
    setDateTime(y, m, d, h, mm, s);
}
void DS1337 :: setDateTime ( unsigned long timestamp ) { int y , m , d , h , mm , s ; DS1337 :: getTime ( timestamp , y , m , d , h , mm , s ) ; setDateTime ( y , m , d , h , mm , s ) ; }
Set the current date and time with a timestamp
Set the current date and time with a timestamp