Debugging Show Times Logic
==========================

$perth_day is Monday
$perth_stamp is 1508693502
$start_of_today_timestamp is 1508688000
$start_of_yesterday_timestamp is 1508601600
$start_of_tomorrow_timestamp is 1508774400
$key is Monday
$pkey is Sunday
$nkey is Tuesday
$yesterday_show_data is: Array
(
    [0] => Array
        (
            [show] => Good Times
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-03-05 01:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508605200
            [friendly_times] => 1am-4am
            [friendly_days] => Sundays
            [slug] => goodtimes
            [id] => 34169
            [home_page_image] => 
            [short_description] => Forget sleep; this is Sunday Morning Staying Up.
            [permalink] => https://rtrfm.com.au/shows/goodtimes/
            [gridDayOfWeek] => Saturday
            [realDayOfWeek] => Sunday
        )

    [1] => Array
        (
            [show] => Snooze Button
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-04-09 04:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508616000
            [friendly_times] => 4am-6am
            [friendly_days] => Saturdays - Fridays
            [slug] => snoozebutton
            [id] => 282
            [home_page_image] => 
            [short_description] => An eclectic music mix for early risers and night owls.


            [permalink] => https://rtrfm.com.au/shows/snoozebutton/
            [gridDayOfWeek] => Saturday
            [realDayOfWeek] => Sunday
        )

    [2] => Array
        (
            [show] => Nostalgia
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-04-02 06:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508623200
            [friendly_times] => 6am-9am
            [friendly_days] => Sundays
            [slug] => nostalgia
            [id] => 298
            [home_page_image] => 2726
            [short_description] => The greatest music of the 30s, 40s and 50s with show tunes and the very best of the classic entertainers.
            [permalink] => https://rtrfm.com.au/shows/nostalgia/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Sunday
        )

    [3] => Array
        (
            [show] => Sunday Morning Coming Down
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-19 09:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508634000
            [friendly_times] => 9am-12pm
            [friendly_days] => Sundays
            [slug] => sundaymorning
            [id] => 307
            [home_page_image] => 
            [short_description] => Aural relaxants for morning calm, flirting with jazz, world music, Americana and chilled electronica.
            [permalink] => https://rtrfm.com.au/shows/sundaymorning/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Sunday
        )

    [4] => Array
        (
            [show] => Giant Steps
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-19 12:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508644800
            [friendly_times] => 12pm-2pm
            [friendly_days] => Sundays
            [slug] => giantsteps
            [id] => 308
            [home_page_image] => 2715
            [short_description] => Forward looking and boundary-pushing twenty–first century jazz.
            [permalink] => https://rtrfm.com.au/shows/giantsteps/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Sunday
        )

    [5] => Array
        (
            [show] => Golden Apples of the Sun
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-19 14:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508652000
            [friendly_times] => 2pm-4pm
            [friendly_days] => Sundays
            [slug] => goldenapples
            [id] => 309
            [home_page_image] => 
            [short_description] => A carefully curated musical detour through unusual avenues of freak-folk, indietronica and other sonic oddities.
            [permalink] => https://rtrfm.com.au/shows/goldenapples/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Sunday
        )

    [6] => Array
        (
            [show] => Rockin' The Roots
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-19 16:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508659200
            [friendly_times] => 4pm-6pm
            [friendly_days] => Sundays
            [slug] => roots
            [id] => 257
            [home_page_image] => 
            [short_description] => Laid back folk, roots and acoustic blues for a chilled-out Sunday afternoon.
            [permalink] => https://rtrfm.com.au/shows/roots/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Sunday
        )

    [7] => Array
        (
            [show] => Plucked Strings
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-19 18:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508666400
            [friendly_times] => 6pm - 7pm
            [friendly_days] => Sundays
            [slug] => pluckedstrings
            [id] => 2896
            [home_page_image] => 
            [short_description] => Showcasing the finest in classical and acoustic music featuring stringed instruments.
            [permalink] => https://rtrfm.com.au/shows/pluckedstrings/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Sunday
        )

    [8] => Array
        (
            [show] => Ambient Zone
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-19 19:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508670000
            [friendly_times] => 7pm-9pm
            [friendly_days] => Sundays
            [slug] => ambientzone
            [id] => 312
            [home_page_image] => 
            [short_description] => Your Sunday night chill out session featuring exploratory electronica of all ilks.
            [permalink] => https://rtrfm.com.au/shows/ambientzone/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Sunday
        )

    [9] => Array
        (
            [show] => Difficult Listening
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-19 21:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508677200
            [friendly_times] => 9pm-11pm
            [friendly_days] => Sundays
            [slug] => difficultlistening
            [id] => 313
            [home_page_image] => 
            [short_description] => Avant-garde, contemporary classical, noise, new music and improv.
            [permalink] => https://rtrfm.com.au/shows/difficultlistening/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Sunday
        )

    [10] => Array
        (
            [show] => The Rounds
            [sort_date_time] => DateTime Object
                (
                    [date] => 2016-02-21 23:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508684400
            [friendly_times] => 11pm-1am
            [friendly_days] => Sundays
            [slug] => therounds
            [id] => 1489
            [home_page_image] => 
            [short_description] => An ever-rotating selection of fun moments in the dance - from disco and boogie through to house, balearic and beyond.
            [permalink] => https://rtrfm.com.au/shows/therounds/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Sunday
        )

)
$show_data is: Array
(
    [0] => Array
        (
            [show] => Up Late
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-04-10 01:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508691600
            [friendly_times] => 1am-4am
            [friendly_days] => Mondays - Fridays
            [slug] => uplate
            [id] => 281
            [home_page_image] => 
            [short_description] => A diverse range of tunes to keep you kicking into the night.
            [permalink] => https://rtrfm.com.au/shows/uplate/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Monday
        )

    [1] => Array
        (
            [show] => Snooze Button
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-04-10 04:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508702400
            [friendly_times] => 4am-6am
            [friendly_days] => Saturdays - Fridays
            [slug] => snoozebutton
            [id] => 282
            [home_page_image] => 
            [short_description] => An eclectic music mix for early risers and night owls.


            [permalink] => https://rtrfm.com.au/shows/snoozebutton/
            [gridDayOfWeek] => Sunday
            [realDayOfWeek] => Monday
        )

    [2] => Array
        (
            [show] => Breakfast with Caitlin
            [sort_date_time] => DateTime Object
                (
                    [date] => 2016-08-01 06:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508709600
            [friendly_times] => 6am-9am
            [friendly_days] => Weekdays
            [slug] => breakfast
            [id] => 48
            [home_page_image] => 
            [short_description] => Start the morning right as Caitlin Nienaber chats to a host of guests from here and abroad.
            [permalink] => https://rtrfm.com.au/shows/breakfast/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Monday
        )

    [3] => Array
        (
            [show] => The Mag
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-07-10 09:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508720400
            [friendly_times] => 9am
            [friendly_days] => Mondays-Thursdays
            [slug] => mag
            [id] => 65
            [home_page_image] => 
            [short_description] => Tackling news and current affairs in an informative and informed manner.
            [permalink] => https://rtrfm.com.au/shows/mag/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Monday
        )

    [4] => Array
        (
            [show] => Indymedia
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-04-03 11:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508727600
            [friendly_times] => 11am-12pm
            [friendly_days] => Mondays
            [slug] => indymedia
            [id] => 278
            [home_page_image] => 
            [short_description] => The latest news and current affairs from the world of left-wing politics and activism.
            [permalink] => https://rtrfm.com.au/shows/indymedia/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Monday
        )

    [5] => Array
        (
            [show] => Out to Lunch
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-13 12:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508731200
            [friendly_times] => 12pm-3pm
            [friendly_days] => Weekdays
            [slug] => otl
            [id] => 66
            [home_page_image] => 
            [short_description] => Your new release feast, showcasing all the latest sounds from indie pop to out there experimentalism.
            [permalink] => https://rtrfm.com.au/shows/otl/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Monday
        )

    [6] => Array
        (
            [show] => Full Frequency
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-13 15:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508742000
            [friendly_times] => 3pm-5pm
            [friendly_days] => Weekdays
            [slug] => fullfrequency
            [id] => 60
            [home_page_image] => 
            [short_description] => The latest in all styles of club and electronica, mixing it up with local and international reviews - your news forum for clubbing in Perth!
            [permalink] => https://rtrfm.com.au/shows/fullfrequency/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Monday
        )

    [7] => Array
        (
            [show] => Drivetime
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-13 17:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508749200
            [friendly_times] => 5pm-7pm
            [friendly_days] => Weekdays
            [slug] => drivetime
            [id] => 67
            [home_page_image] => 
            [short_description] => A diverse mix of new tunes and classics – experience a different drive home.
            [permalink] => https://rtrfm.com.au/shows/drivetime/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Monday
        )

    [8] => Array
        (
            [show] => Spoonful of Blues
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-13 20:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508760000
            [friendly_times] => 7pm-9pm
            [friendly_days] => Mondays
            [slug] => spoonful
            [id] => 279
            [home_page_image] => 
            [short_description] => From the genre's roots through to high-voltage electric blues and beyond.
            [permalink] => https://rtrfm.com.au/shows/spoonful/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Monday
        )

    [9] => Array
        (
            [show] => Siamese Dream
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-04-03 21:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508763600
            [friendly_times] => 9pm-11pm
            [friendly_days] => Mondays
            [slug] => siamesedream
            [id] => 315
            [home_page_image] => 
            [short_description] => Investigating the decade where alternative ruled, with a deep reverence for the sounds that defined the '90s.
            [permalink] => https://rtrfm.com.au/shows/siamesedream/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Monday
        )

    [10] => Array
        (
            [show] => Cloud Waves
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-06-05 23:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508770800
            [friendly_times] => 11pm-1am
            [friendly_days] => Mondays
            [slug] => cloudwaves
            [id] => 11776
            [home_page_image] => 
            [short_description] => Progressive, boundary-pushing, experimental raps,  blissed-out, heartbreaking futuristic R n B beats and intriguing nightclub constructions.
            [permalink] => https://rtrfm.com.au/shows/cloudwaves/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Monday
        )

)
$tomorrow_show_data is: Array
(
    [0] => Array
        (
            [show] => Up Late
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-04-11 01:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508778000
            [friendly_times] => 1am-4am
            [friendly_days] => Mondays - Fridays
            [slug] => uplate
            [id] => 281
            [home_page_image] => 
            [short_description] => A diverse range of tunes to keep you kicking into the night.
            [permalink] => https://rtrfm.com.au/shows/uplate/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Tuesday
        )

    [1] => Array
        (
            [show] => Snooze Button
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-04-11 04:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508788800
            [friendly_times] => 4am-6am
            [friendly_days] => Saturdays - Fridays
            [slug] => snoozebutton
            [id] => 282
            [home_page_image] => 
            [short_description] => An eclectic music mix for early risers and night owls.


            [permalink] => https://rtrfm.com.au/shows/snoozebutton/
            [gridDayOfWeek] => Monday
            [realDayOfWeek] => Tuesday
        )

    [2] => Array
        (
            [show] => Breakfast with Caitlin
            [sort_date_time] => DateTime Object
                (
                    [date] => 2016-08-02 06:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508796000
            [friendly_times] => 6am-9am
            [friendly_days] => Weekdays
            [slug] => breakfast
            [id] => 48
            [home_page_image] => 
            [short_description] => Start the morning right as Caitlin Nienaber chats to a host of guests from here and abroad.
            [permalink] => https://rtrfm.com.au/shows/breakfast/
            [gridDayOfWeek] => Tuesday
            [realDayOfWeek] => Tuesday
        )

    [3] => Array
        (
            [show] => The Mag
            [sort_date_time] => DateTime Object
                (
                    [date] => 2017-07-11 09:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508806800
            [friendly_times] => 9am
            [friendly_days] => Mondays-Thursdays
            [slug] => mag
            [id] => 65
            [home_page_image] => 
            [short_description] => Tackling news and current affairs in an informative and informed manner.
            [permalink] => https://rtrfm.com.au/shows/mag/
            [gridDayOfWeek] => Tuesday
            [realDayOfWeek] => Tuesday
        )

    [4] => Array
        (
            [show] => Talk the Talk
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-14 11:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508814000
            [friendly_times] => 11am-12pm
            [friendly_days] => Tuesdays
            [slug] => talkthetalk
            [id] => 18644
            [home_page_image] => 
            [short_description] => Talk the Talk is RTRFM's weekly foray into the science of language. Linguist Daniel Midgley and smart person Ben Ainslie tackle language change, language tech, new words, society, minority languages, and language and the mind.
            [permalink] => https://rtrfm.com.au/shows/talkthetalk/
            [gridDayOfWeek] => Tuesday
            [realDayOfWeek] => Tuesday
        )

    [5] => Array
        (
            [show] => Out to Lunch
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-14 12:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508817600
            [friendly_times] => 12pm-3pm
            [friendly_days] => Weekdays
            [slug] => otl
            [id] => 66
            [home_page_image] => 
            [short_description] => Your new release feast, showcasing all the latest sounds from indie pop to out there experimentalism.
            [permalink] => https://rtrfm.com.au/shows/otl/
            [gridDayOfWeek] => Tuesday
            [realDayOfWeek] => Tuesday
        )

    [6] => Array
        (
            [show] => Full Frequency
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-14 15:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508828400
            [friendly_times] => 3pm-5pm
            [friendly_days] => Weekdays
            [slug] => fullfrequency
            [id] => 60
            [home_page_image] => 
            [short_description] => The latest in all styles of club and electronica, mixing it up with local and international reviews - your news forum for clubbing in Perth!
            [permalink] => https://rtrfm.com.au/shows/fullfrequency/
            [gridDayOfWeek] => Tuesday
            [realDayOfWeek] => Tuesday
        )

    [7] => Array
        (
            [show] => Drivetime
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-14 17:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508835600
            [friendly_times] => 5pm-7pm
            [friendly_days] => Weekdays
            [slug] => drivetime
            [id] => 67
            [home_page_image] => 
            [short_description] => A diverse mix of new tunes and classics – experience a different drive home.
            [permalink] => https://rtrfm.com.au/shows/drivetime/
            [gridDayOfWeek] => Tuesday
            [realDayOfWeek] => Tuesday
        )

    [8] => Array
        (
            [show] => Rock, Rattle & Roll
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-14 19:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508842800
            [friendly_times] => 7pm-9pm
            [friendly_days] => Tuesdays
            [slug] => rockrattle
            [id] => 283
            [home_page_image] => 
            [short_description] => Vintage rock'n'roll, rockabilly and classic R'n'B.
            [permalink] => https://rtrfm.com.au/shows/rockrattle/
            [gridDayOfWeek] => Tuesday
            [realDayOfWeek] => Tuesday
        )

    [9] => Array
        (
            [show] => El Ritmo
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-14 21:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508850000
            [friendly_times] => 9pm-11pm
            [friendly_days] => Tuesdays
            [slug] => elritmo
            [id] => 284
            [home_page_image] => 
            [short_description] => Latin, lounge and hi-fi exotica – music for the sonic sophisticate
            [permalink] => https://rtrfm.com.au/shows/elritmo/
            [gridDayOfWeek] => Tuesday
            [realDayOfWeek] => Tuesday
        )

    [10] => Array
        (
            [show] => Bass Check
            [sort_date_time] => DateTime Object
                (
                    [date] => 2015-04-14 23:00:00.000000
                    [timezone_type] => 1
                    [timezone] => +08:00
                )

            [start_stamp] => 1508857200
            [friendly_times] => 11pm-1am
            [friendly_days] => Tuesdays
            [slug] => basscheck
            [id] => 285
            [home_page_image] => 
            [short_description] => Specialising in low-end electronic music, from Trip-Hop to Dubstep and the outer reaches of sound.
            [permalink] => https://rtrfm.com.au/shows/basscheck/
            [gridDayOfWeek] => Tuesday
            [realDayOfWeek] => Tuesday
        )

)
Comparing start_stamp with value of 1508605200 against 1508693502 (less than)
Comparing start_stamp with value of 1508616000 against 1508693502 (less than)
Comparing start_stamp with value of 1508623200 against 1508693502 (less than)
Comparing start_stamp with value of 1508634000 against 1508693502 (less than)
Comparing start_stamp with value of 1508644800 against 1508693502 (less than)
Comparing start_stamp with value of 1508652000 against 1508693502 (less than)
Comparing start_stamp with value of 1508659200 against 1508693502 (less than)
Comparing start_stamp with value of 1508666400 against 1508693502 (less than)
Comparing start_stamp with value of 1508670000 against 1508693502 (less than)
Comparing start_stamp with value of 1508677200 against 1508693502 (less than)
Comparing start_stamp with value of 1508684400 against 1508693502 (less than)
Comparing start_stamp with value of 1508691600 against 1508693502 (less than)
Comparing start_stamp with value of 1508702400 against 1508693502 (greater than)
Comparing start_stamp with value of 1508709600 against 1508693502 (greater than)
Comparing start_stamp with value of 1508720400 against 1508693502 (greater than)
Comparing start_stamp with value of 1508727600 against 1508693502 (greater than)
Comparing start_stamp with value of 1508731200 against 1508693502 (greater than)
Comparing start_stamp with value of 1508742000 against 1508693502 (greater than)
Comparing start_stamp with value of 1508749200 against 1508693502 (greater than)
Comparing start_stamp with value of 1508760000 against 1508693502 (greater than)
Comparing start_stamp with value of 1508763600 against 1508693502 (greater than)
Comparing start_stamp with value of 1508770800 against 1508693502 (greater than)
Comparing start_stamp with value of 1508778000 against 1508693502 (greater than)
Comparing start_stamp with value of 1508788800 against 1508693502 (greater than)
Comparing start_stamp with value of 1508796000 against 1508693502 (greater than)
Comparing start_stamp with value of 1508806800 against 1508693502 (greater than)
Comparing start_stamp with value of 1508814000 against 1508693502 (greater than)
Comparing start_stamp with value of 1508817600 against 1508693502 (greater than)
Comparing start_stamp with value of 1508828400 against 1508693502 (greater than)
Comparing start_stamp with value of 1508835600 against 1508693502 (greater than)
Comparing start_stamp with value of 1508842800 against 1508693502 (greater than)
Comparing start_stamp with value of 1508850000 against 1508693502 (greater than)
Comparing start_stamp with value of 1508857200 against 1508693502 (greater than)
count($shows_already_started) is 12
$current_show_index is 11
$current_show is Array
(
    [show] => Up Late
    [sort_date_time] => DateTime Object
        (
            [date] => 2017-04-10 01:00:00.000000
            [timezone_type] => 1
            [timezone] => +08:00
        )

    [start_stamp] => 1508691600
    [friendly_times] => 1am-4am
    [friendly_days] => Mondays - Fridays
    [slug] => uplate
    [id] => 281
    [home_page_image] => 
    [short_description] => A diverse range of tunes to keep you kicking into the night.
    [permalink] => https://rtrfm.com.au/shows/uplate/
    [gridDayOfWeek] => Sunday
    [realDayOfWeek] => Monday
)
$last_show is Array
(
    [show] => The Rounds
    [sort_date_time] => DateTime Object
        (
            [date] => 2016-02-21 23:00:00.000000
            [timezone_type] => 1
            [timezone] => +08:00
        )

    [start_stamp] => 1508684400
    [friendly_times] => 11pm-1am
    [friendly_days] => Sundays
    [slug] => therounds
    [id] => 1489
    [home_page_image] => 
    [short_description] => An ever-rotating selection of fun moments in the dance - from disco and boogie through to house, balearic and beyond.
    [permalink] => https://rtrfm.com.au/shows/therounds/
    [gridDayOfWeek] => Sunday
    [realDayOfWeek] => Sunday
)
$show_before_last is Array
(
    [show] => Difficult Listening
    [sort_date_time] => DateTime Object
        (
            [date] => 2015-04-19 21:00:00.000000
            [timezone_type] => 1
            [timezone] => +08:00
        )

    [start_stamp] => 1508677200
    [friendly_times] => 9pm-11pm
    [friendly_days] => Sundays
    [slug] => difficultlistening
    [id] => 313
    [home_page_image] => 
    [short_description] => Avant-garde, contemporary classical, noise, new music and improv.
    [permalink] => https://rtrfm.com.au/shows/difficultlistening/
    [gridDayOfWeek] => Sunday
    [realDayOfWeek] => Sunday
)
$next_show is Array
(
    [show] => Snooze Button
    [sort_date_time] => DateTime Object
        (
            [date] => 2017-04-10 04:00:00.000000
            [timezone_type] => 1
            [timezone] => +08:00
        )

    [start_stamp] => 1508702400
    [friendly_times] => 4am-6am
    [friendly_days] => Saturdays - Fridays
    [slug] => snoozebutton
    [id] => 282
    [home_page_image] => 
    [short_description] => An eclectic music mix for early risers and night owls.


    [permalink] => https://rtrfm.com.au/shows/snoozebutton/
    [gridDayOfWeek] => Sunday
    [realDayOfWeek] => Monday
)
$show_after_next is Array
(
    [show] => Breakfast with Caitlin
    [sort_date_time] => DateTime Object
        (
            [date] => 2016-08-01 06:00:00.000000
            [timezone_type] => 1
            [timezone] => +08:00
        )

    [start_stamp] => 1508709600
    [friendly_times] => 6am-9am
    [friendly_days] => Weekdays
    [slug] => breakfast
    [id] => 48
    [home_page_image] => 
    [short_description] => Start the morning right as Caitlin Nienaber chats to a host of guests from here and abroad.
    [permalink] => https://rtrfm.com.au/shows/breakfast/
    [gridDayOfWeek] => Monday
    [realDayOfWeek] => Monday
)
It's before six so setting $perth_day to previous day
$perth_day is now Sunday