# How to get the current “random” seed?

**URL:** https://discourse.julialang.org/t/how-to-get-the-current-random-seed/31640
**Category:** General Usage
**Tags:** question
**Created:** [November 28, 2019, 11:46pm UTC](https://discourse.julialang.org/t/how-to-get-the-current-random-seed/31640 "2019-11-28T23:46:13Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![marius311](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marius311/32/3953_2.png) [@marius311](https://discourse.julialang.org/u/marius311)
#### Post date: [November 29, 2019, 6:44am UTC](https://discourse.julialang.org/t/how-to-get-the-current-random-seed/31640/3 "2019-11-29T06:44:56Z")

</div>

What used to be `Random.GLOBAL_RNG` is now `Random.default_rng()` (and also its thread-local I believe).

---

_[View the full topic](https://discourse.julialang.org/t/how-to-get-the-current-random-seed/31640)._
