# Return to Answer

Mod Removes Wiki by Martin Ender
Post Made Community Wiki by Martin Ender
Post Merged (destination) from meta.codegolf.stackexchange.com/questions/1847/…
Post Merged (destination) from meta.codegolf.stackexchange.com/questions/638/…
3 fixed spelling and grammar

## How many time to waitlong until my next birthday is on week-enda weekend

I would like to know how manymuch time (in days) I have to wait (from now) until my birthday occuroccurs on week-enda weekend...

• The required tool could accept arguments or standard input.
• The only variable to passpassed as input (as argument or stdin) is my birth day in the strict form YYYY/MM/DD with only digits, separated by / (of course: YYYY for birth year, MM for the month and DD for the day of month.
• The ouptutoutput must present the number of daydays to wait, from now, and the targettarget date with the day of week, in the form Wait DTW days to WWW, YYYY/MM/DD where DTW in integer is the number of days to wait, WWW as day of week abreviationabbreviation could be Sat or Sun and the target date in same form as input.
• Once done, there is no more request (tool could finish quietly, loop, bug or crash)
• About February 29th, there isare 3 way of thinkingways you can handle it:

• strict: Where birthday may occureoccur once every 4 years
• right: Where birthday is March 1st while Feb 29th don'tdoesn't exist.
• relax: Where birthday could be Feb 28th or March 1st, but only while Feb 29th don'tdoesn't exist.

The tool have tomust match in the right manner, but could accept an option as choice between one of the three ways.

• Shortest golfed code winwins
• -3 explanation (while golfed version have tomust use one letter variable, ungolfed version is welcome with useful variable names)
• -3 if properly loop on STDIN
• -5 if no requirement of external library
• -10 if an option letto choose the way of considering February 29th.
• 0 for shebang (unless they contain more than runtime options: switch r in sed or p in perl are runtime options, they count for null)
• N embed code on shebang line in counted normalynormally.

## How many time to wait until next birthday on week-end

I would like to know how many time (in days) I have to wait (from now) until my birthday occur on week-end...

• The required tool could accept arguments or standard input.
• The only variable to pass (as argument or stdin) is my birth day in the strict form YYYY/MM/DD with only digits, separated by / (of course: YYYY for birth year, MM for the month and DD for the day of month.
• The ouptut must present the number of day to wait, from now, and the target date with the day of week, in the form Wait DTW days to WWW, YYYY/MM/DD where DTW in integer is the number of days to wait, WWW as day of week abreviation could be Sat or Sun and the target date in same form as input.
• Once done, there is no more request (tool could finish quietly, loop, bug or crash)
• About February 29th, there is 3 way of thinking:

• strict: Where birthday may occure once every 4 years
• right: Where birthday is March 1st while Feb 29th don't exist.
• relax: Where birthday could be Feb 28th or March 1st, but only while Feb 29th don't exist.

The tool have to match right manner, but could accept an option as choice between one of three ways.

• Shortest golfed code win
• -3 explanation (while golfed version have to use one letter variable, ungolfed version is welcome with useful variable names)
• -3 if properly loop on STDIN
• -5 if no requirement of external library
• -10 if an option let choose the way of considering February 29th.
• 0 for shebang (unless they contain more than runtime options: switch r in sed or p in perl are runtime options, they count for null)
• N embed code on shebang line in counted normaly.

## How long until my next birthday is on a weekend

I would like to know how much time (in days) I have to wait (from now) until my birthday occurs on a weekend...

• The required tool could accept arguments or standard input.
• The only variable passed as input (as argument or stdin) is my birth day in the strict form YYYY/MM/DD with only digits, separated by / (of course: YYYY for birth year, MM for the month and DD for the day of month.
• The output must present the number of days to wait, from now, and the target date with the day of week, in the form Wait DTW days to WWW, YYYY/MM/DD where DTW in integer is the number of days to wait, WWW as day of week abbreviation could be Sat or Sun and the target date in same form as input.
• Once done, there is no more request (tool could finish quietly, loop, bug or crash)
• About February 29th, there are 3 ways you can handle it:

• strict: Where birthday may occur once every 4 years
• right: Where birthday is March 1st while Feb 29th doesn't exist.
• relax: Where birthday could be Feb 28th or March 1st, but only while Feb 29th doesn't exist.

The tool must match in the right manner, but could accept an option as choice between one of the three ways.

• Shortest golfed code wins
• -3 explanation (while golfed version must use one letter variable, ungolfed version is welcome with useful variable names)
• -3 if properly loop on STDIN
• -5 if no requirement of external library
• -10 if an option to choose the way of considering February 29th.
• 0 for shebang (unless they contain more than runtime options: switch r in sed or p in perl are runtime options, they count for null)
• N embed code on shebang line in counted normally.
2 added 470 characters in body

## How many time to wait until next birthday on week-end

I would like to know how many time (in days) I have to wait (from now) until my birthday occur on week-end...

• The required tool could accept arguments or standard input.
• The only variable to pass (as argument or stdin) is my birth day in the strict form YYYY/MM/DD with only digits, separated by / (of course: YYYY for birth year, MM for the month and DD for the day of month.
• The ouptut must present the number of day to wait, from now, and the target date with the day of week, in the form Wait DTW days to WWW, YYYY/MM/DD where DTW in integer is the number of days to wait, WWW as day of week abreviation could be Sat or Sun and the target date in same form as input.
• Once done, there is no more request (tool could finish quietly, loop, bug or crash)
• About February 29th, there is 3 way of thinking:

• strict: Where birthday may occure once every 4 years
• right: Where birthday is March 1st while Feb 29th don't exist.
• relax: Where birthday could be Feb 28th or March 1st, but only while Feb 29th don't exist.

The tool have to match right manner, but could accept an option as choice between one of three ways.

• Shortest golfed code win
• -3 explanation (while golfed version have to use one letter variable, ungolfed version is welcome with useful variable names)
• -3 if properly loop on STDIN
• -5 if no requirement of external library
• -10 if an option let choose the way of considering February 29th.
• 0 for shebang (unless they contain more than runtime options: switch r in sed or p in perl are runtime options, they count for null)
• N embed code on shebang line in counted normaly.

## How many time to wait until next birthday on week-end

I would like to know how many time (in days) I have to wait (from now) until my birthday occur on week-end...

• The required tool could accept arguments or standard input.
• The only variable to pass (as argument or stdin) is my birth day in the strict form YYYY/MM/DD with only digits, separated by / (of course: YYYY for birth year, MM for the month and DD for the day of month.
• The ouptut must present the number of day to wait, from now, and the target date with the day of week, in the form Wait DTW days to WWW, YYYY/MM/DD where DTW in integer is the number of days to wait, WWW as day of week abreviation could be Sat or Sun and the target date in same form as input.
• Once done, there is no more request (tool could finish quietly, loop, bug or crash)
• Shortest golfed code win
• -3 explanation (while golfed version have to use one letter variable, ungolfed version is welcome with useful variable names)
• -3 if properly loop on STDIN
• -5 if no requirement of external library
• 0 for shebang (unless they contain more than runtime options: switch r in sed or p in perl are runtime options, they count for null)
• N embed code on shebang line in counted normaly.

## How many time to wait until next birthday on week-end

I would like to know how many time (in days) I have to wait (from now) until my birthday occur on week-end...

• The required tool could accept arguments or standard input.
• The only variable to pass (as argument or stdin) is my birth day in the strict form YYYY/MM/DD with only digits, separated by / (of course: YYYY for birth year, MM for the month and DD for the day of month.
• The ouptut must present the number of day to wait, from now, and the target date with the day of week, in the form Wait DTW days to WWW, YYYY/MM/DD where DTW in integer is the number of days to wait, WWW as day of week abreviation could be Sat or Sun and the target date in same form as input.
• Once done, there is no more request (tool could finish quietly, loop, bug or crash)
• About February 29th, there is 3 way of thinking:

• strict: Where birthday may occure once every 4 years
• right: Where birthday is March 1st while Feb 29th don't exist.
• relax: Where birthday could be Feb 28th or March 1st, but only while Feb 29th don't exist.

The tool have to match right manner, but could accept an option as choice between one of three ways.

• Shortest golfed code win
• -3 explanation (while golfed version have to use one letter variable, ungolfed version is welcome with useful variable names)
• -3 if properly loop on STDIN
• -5 if no requirement of external library
• -10 if an option let choose the way of considering February 29th.
• 0 for shebang (unless they contain more than runtime options: switch r in sed or p in perl are runtime options, they count for null)
• N embed code on shebang line in counted normaly.
1

## How many time to wait until next birthday on week-end

I would like to know how many time (in days) I have to wait (from now) until my birthday occur on week-end...

• The required tool could accept arguments or standard input.
• The only variable to pass (as argument or stdin) is my birth day in the strict form YYYY/MM/DD with only digits, separated by / (of course: YYYY for birth year, MM for the month and DD for the day of month.
• The ouptut must present the number of day to wait, from now, and the target date with the day of week, in the form Wait DTW days to WWW, YYYY/MM/DD where DTW in integer is the number of days to wait, WWW as day of week abreviation could be Sat or Sun and the target date in same form as input.
• Once done, there is no more request (tool could finish quietly, loop, bug or crash)
• Shortest golfed code win
• -3 explanation (while golfed version have to use one letter variable, ungolfed version is welcome with useful variable names)
• -3 if properly loop on STDIN
• -5 if no requirement of external library
• 0 for shebang (unless they contain more than runtime options: switch r in sed or p in perl are runtime options, they count for null)
• N embed code on shebang line in counted normaly.