Firestore Timestamp and ArrayUnion

Hello

How can I use firestore functions Like Timestamp.now() or FieldValue.arrayUnion(1)?

Best Aron