In general, both forms are used in only writing and more formal situations.
一般来说，这两种形式只用于写作和更正式的情况。