This question already has an answer here:
My B1/B2 visa expires on 23 November 2018, and I have to stay in the US up to 2 December 2018. As I heard while I entered the USA they will grant me a 6 months visa. My one off friend with the same B1/B2 visa; his will expire in two days but he got a 6 months visa on arrival in USA. Does the same rule and law still apply now?