Quick answer
The court issues a case number and records the filing date and time on the docket.
General information, not legal advice about your situation. Laws, dollar amounts, and local rules change, so check current requirements with the official sources below or your court.
More detail
Save the filed petition, electronic receipt, case number, and notice of bankruptcy. Merely preparing forms, taking credit counseling, mailing papers that have not been docketed, or telling a creditor that you plan to file does not itself create bankruptcy protection. Local procedures control how emergency and after-hours submissions are received and docketed.
Related official reading
These sources do not endorse Bankruptcy Buddy.