Golang equivalent of strtotime(“this Sunday, 23:59:59”)
up vote
-1
down vote
favorite
I am writing a scraper that scrapes offers off websites and these offers have end dates. One such website has offers that expire every Sunday. I have gone through the golang time documentation but still dont get how that can be done the equivalence I found in PHP and is pretty simple.
$endDate = strtotime('this Sunday, 23:59:59');
Is there a golang way to do this?
go time web-scraping
add a comment |
up vote
-1
down vote
favorite
I am writing a scraper that scrapes offers off websites and these offers have end dates. One such website has offers that expire every Sunday. I have gone through the golang time documentation but still dont get how that can be done the equivalence I found in PHP and is pretty simple.
$endDate = strtotime('this Sunday, 23:59:59');
Is there a golang way to do this?
go time web-scraping
Take a look at package time.
– Volker
1 min ago
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I am writing a scraper that scrapes offers off websites and these offers have end dates. One such website has offers that expire every Sunday. I have gone through the golang time documentation but still dont get how that can be done the equivalence I found in PHP and is pretty simple.
$endDate = strtotime('this Sunday, 23:59:59');
Is there a golang way to do this?
go time web-scraping
I am writing a scraper that scrapes offers off websites and these offers have end dates. One such website has offers that expire every Sunday. I have gone through the golang time documentation but still dont get how that can be done the equivalence I found in PHP and is pretty simple.
$endDate = strtotime('this Sunday, 23:59:59');
Is there a golang way to do this?
go time web-scraping
go time web-scraping
asked 5 mins ago
dominicbure
115
115
Take a look at package time.
– Volker
1 min ago
add a comment |
Take a look at package time.
– Volker
1 min ago
Take a look at package time.
– Volker
1 min ago
Take a look at package time.
– Volker
1 min ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53203385%2fgolang-equivalent-of-strtotimethis-sunday-235959%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Take a look at package time.
– Volker
1 min ago